X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.h;h=811439faf2a5ee37e6e9f3debd2cbe6a6509f550;hp=17ff4031c90dde49b00031d1529156598fb450d9;hb=30c6b4c9a22edc76b2e8335edbdf157dd51241eb;hpb=5ef42682053f57fc031d420f0a2ae3e204421b8d diff --git a/udev.h b/udev.h index 17ff4031c..811439faf 100644 --- a/udev.h +++ b/udev.h @@ -4,6 +4,7 @@ * Userspace devfs * * Copyright (C) 2003 Greg Kroah-Hartman + * Copyright (C) 2003-2005 Kay Sievers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -26,10 +27,12 @@ #include #include #include "libsysfs/sysfs/libsysfs.h" +#include "list.h" #define ALARM_TIMEOUT 120 #define COMMENT_CHARACTER '#' +#define LINE_SIZE 512 #define NAME_SIZE 256 #define USER_SIZE 32 @@ -38,8 +41,6 @@ #define SUBSYSTEM_SIZE 32 #define SEQNUM_SIZE 32 -#define LINE_SIZE 512 - #define DEVD_DIR "/etc/dev.d" #define DEVD_SUFFIX ".dev" @@ -61,14 +62,14 @@ struct udevice { char subsystem[SUBSYSTEM_SIZE]; char name[NAME_SIZE]; - char symlink[NAME_SIZE]; + char devname[NAME_SIZE]; + struct list_head symlink_list; char owner[USER_SIZE]; char group[USER_SIZE]; mode_t mode; char type; dev_t devt; - char devname[NAME_SIZE]; char tmp_node[NAME_SIZE]; int partitions; int ignore_remove;