/*
* libudev - interface to udev device information
*
- * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2008-2009 Kay Sievers <kay.sievers@vrfy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
/* udev and kernel device events */
struct udev_monitor;
-struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name);
+struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor);
struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor);
void udev_monitor_unref(struct udev_monitor *udev_monitor);
/*
- * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2008-2009 Kay Sievers <kay.sievers@vrfy.org>
* Copyright (C) 2008 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
*
* This program is free software: you can redistribute it and/or modify
union {
unsigned char type; /* same as in rule and key */
struct {
- unsigned char type;
+ enum token_type type:8;
unsigned char flags;
unsigned short token_count;
unsigned int label_off;
unsigned short filename_line;
} rule;
struct {
- unsigned char type;
+ enum token_type type:8;
+ enum operation_type op:8;
+ enum string_glob_type glob:8;
unsigned char flags;
- unsigned char op;
- unsigned char glob;
unsigned int value_off;
union {
unsigned int attr_off;