chiark / gitweb /
[PATCH] make udevsend binary even smaller
[elogind.git] / namedev.h
index 4e75db64107a7fe5c6e519bcbc08b3ab49e733f1..9cff3710d40554f86d7ee9de70bd8afb1cce8697 100644 (file)
--- a/namedev.h
+++ b/namedev.h
@@ -3,7 +3,7 @@
  *
  * Userspace devfs
  *
- * Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
+ * Copyright (C) 2003,2004 Greg Kroah-Hartman <greg@kroah.com>
  *
  *     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
@@ -45,7 +45,7 @@ struct sysfs_class_device;
 #define FIELD_NAME     "NAME"
 #define FIELD_SYMLINK  "SYMLINK"
 
-#define CALLOUT_MAXARG 10
+#define PROGRAM_MAXARG 10
 #define MAX_SYSFS_PAIRS        5
 
 struct sysfs_pair {
@@ -65,6 +65,7 @@ struct config_device {
        char name[NAME_SIZE];
        char symlink[NAME_SIZE];
        struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS];
+       int config_line;
 };
 
 struct perm_device {
@@ -90,6 +91,4 @@ extern void dump_config_dev_list(void);
 extern void dump_perm_dev(struct perm_device *dev);
 extern void dump_perm_dev_list(void);
 
-extern int get_pair(char **orig_string, char **left, char **right);
-
 #endif