chiark / gitweb /
[PATCH] Add chassis_id program to extras directory
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index 54269dfd31162437d38fbc44b3645c4c2c910f48..eb42edce10211dbc9e5e6974aeadfc75377e4779 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -28,7 +28,7 @@
 
 #define COMMENT_CHARACTER              '#'
 
-#define NAME_SIZE                      100
+#define NAME_SIZE                      256
 #define OWNER_SIZE                     30
 #define GROUP_SIZE                     30
 #define MODE_SIZE                      8
@@ -50,6 +50,9 @@ struct udevice {
        unsigned int mode;      /* not mode_t due to conflicting definitions in different libcs */
        char symlink[NAME_SIZE];
        int partitions;
+       int config_line;
+       char config_file[NAME_SIZE];
+       time_t config_time;
 
        /* private data that help us in building strings */
        char bus_id[SYSFS_NAME_LEN];
@@ -62,6 +65,7 @@ extern int udev_add_device(char *path, char *subsystem, int fake);
 extern int udev_remove_device(char *path, char *subsystem);
 extern void udev_init_config(void);
 extern int parse_get_pair(char **orig_string, char **left, char **right);
+extern void dev_d_send(struct udevice *dev, char *subsystem);
 
 extern char **main_argv;
 extern char **main_envp;