chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] more test stuff...
[elogind.git]
/
udev.h
diff --git
a/udev.h
b/udev.h
index 56eb0d7edb0dec816d6e32a3855b01fcc4326bca..3c3c3d5de78e8a8c4d37f866ea39a0bcc22c2ecc 100644
(file)
--- a/
udev.h
+++ b/
udev.h
@@
-37,15
+37,9
@@
/* Lots of constants that should be in a config file sometime */
/* Lots of constants that should be in a config file sometime */
-/* Location of sysfs mount */
-#define SYSFS_ROOT "/sys"
-
/* Where udev should create its device nodes, trailing / needed */
#define UDEV_ROOT "/udev/"
/* Where udev should create its device nodes, trailing / needed */
#define UDEV_ROOT "/udev/"
-/* device file in sysfs that contains major/minor number, leading / needed */
-#define DEV_FILE "/dev"
-
/* Binaries that udev calls to do stuff */
#define MKNOD "/bin/mknod"
/* Binaries that udev calls to do stuff */
#define MKNOD "/bin/mknod"
@@
-63,6
+57,8
@@
struct device_attr {
int mode;
};
int mode;
};
+extern int udev_add_device(char *device, char *subsystem);
+extern int udev_remove_device(char *device, char *subsystem);
#endif
#endif