Blame gudev/gudevenums.h

rpm-build 07bc2b
/* -*- Mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
rpm-build 07bc2b
 *
rpm-build 07bc2b
 * Copyright (C) 2008 David Zeuthen <davidz@redhat.com>
rpm-build 07bc2b
 *
rpm-build 07bc2b
 * This library is free software; you can redistribute it and/or
rpm-build 07bc2b
 * modify it under the terms of the GNU Library General Public
rpm-build 07bc2b
 * License as published by the Free Software Foundation; either
rpm-build 07bc2b
 * version 2 of the License, or (at your option) any later version.
rpm-build 07bc2b
 *
rpm-build 07bc2b
 * This library is distributed in the hope that it will be useful,
rpm-build 07bc2b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 07bc2b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 07bc2b
 * Library General Public License for more details.
rpm-build 07bc2b
 *
rpm-build 07bc2b
 * You should have received a copy of the GNU Library General Public
rpm-build 07bc2b
 * License along with this library; if not, write to the Free Software
rpm-build 07bc2b
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
rpm-build 07bc2b
 */
rpm-build 07bc2b
rpm-build 07bc2b
#if !defined (_GUDEV_COMPILATION) && !defined(_GUDEV_INSIDE_GUDEV_H)
rpm-build 07bc2b
#error "Only <gudev/gudev.h> can be included directly, this file may disappear or change contents."
rpm-build 07bc2b
#endif
rpm-build 07bc2b
rpm-build 07bc2b
#ifndef __G_UDEV_ENUMS_H__
rpm-build 07bc2b
#define __G_UDEV_ENUMS_H__
rpm-build 07bc2b
rpm-build 07bc2b
#include <glib-object.h>
rpm-build 07bc2b
rpm-build 07bc2b
G_BEGIN_DECLS
rpm-build 07bc2b
rpm-build 07bc2b
/**
rpm-build 07bc2b
 * GUdevDeviceType:
rpm-build 07bc2b
 * @G_UDEV_DEVICE_TYPE_NONE: Device does not have a device file.
rpm-build 07bc2b
 * @G_UDEV_DEVICE_TYPE_BLOCK: Device is a block device.
rpm-build 07bc2b
 * @G_UDEV_DEVICE_TYPE_CHAR: Device is a character device.
rpm-build 07bc2b
 *
rpm-build 07bc2b
 * Enumeration used to specify a the type of a device.
rpm-build 07bc2b
 */
rpm-build 07bc2b
typedef enum
rpm-build 07bc2b
{
rpm-build 07bc2b
  G_UDEV_DEVICE_TYPE_NONE = 0,
rpm-build 07bc2b
  G_UDEV_DEVICE_TYPE_BLOCK = 'b',
rpm-build 07bc2b
  G_UDEV_DEVICE_TYPE_CHAR = 'c',
rpm-build 07bc2b
} GUdevDeviceType;
rpm-build 07bc2b
rpm-build 07bc2b
G_END_DECLS
rpm-build 07bc2b
rpm-build 07bc2b
#endif /* __G_UDEV_ENUMS_H__ */