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] man page update
[elogind.git]
/
namedev.h
diff --git
a/namedev.h
b/namedev.h
index 9d612dfe0cfd741085105c61c88ae47bf48eee5d..d5aaae202cf28e4fa7eefb9f6a9b5e26850ae45f 100644
(file)
--- a/
namedev.h
+++ b/
namedev.h
@@
-23,15
+23,12
@@
#ifndef NAMEDEV_H
#define NAMEDEV_H
#ifndef NAMEDEV_H
#define NAMEDEV_H
+#include "udev.h"
#include "list.h"
struct sysfs_class_device;
#include "list.h"
struct sysfs_class_device;
-/* namedev config files */
#define COMMENT_CHARACTER '#'
#define COMMENT_CHARACTER '#'
-#define NAMEDEV_CONFIG_ROOT "/home/greg/src/udev/"
-#define NAMEDEV_CONFIG_PERMISSION_FILE "namedev.permissions"
-#define NAMEDEV_CONFIG_FILE "namedev.config"
enum config_type {
KERNEL_NAME = 0, /* must be 0 to let memset() default to this value */
enum config_type {
KERNEL_NAME = 0, /* must be 0 to let memset() default to this value */
@@
-39,6
+36,7
@@
enum config_type {
NUMBER = 2,
TOPOLOGY = 3,
REPLACE = 4,
NUMBER = 2,
TOPOLOGY = 3,
REPLACE = 4,
+ CALLOUT = 5,
};
#define BUS_SIZE 30
};
#define BUS_SIZE 30
@@
-59,6
+57,7
@@
struct config_device {
char id[ID_SIZE];
char place[PLACE_SIZE];
char kernel_name[NAME_SIZE];
char id[ID_SIZE];
char place[PLACE_SIZE];
char kernel_name[NAME_SIZE];
+ char exec_program[FILE_SIZE];
/* what to set the device to */
struct device_attr attr;
/* what to set the device to */
struct device_attr attr;