summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-07-17 01:24:51 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:38 -0700
commit2232cac825e4f8b53273d16154309278cf639e3c (patch)
treeb98b2c91f03de27769225929571986b99f1c72ca /namedev.h
parentaf815f882dc196b1357f5be81cb00c8fe9c60670 (diff)
[PATCH] Initial namedev parsing of config files
.permission parsing works, .config needs more work.
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/namedev.h b/namedev.h
new file mode 100644
index 0000000000..0089b4d240
--- /dev/null
+++ b/namedev.h
@@ -0,0 +1,34 @@
+/*
+ * namedev.h
+ *
+ * Userspace devfs
+ *
+ * Copyright (C) 2003 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
+ * Free Software Foundation version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef NAMEDEV_H
+#define NAMEDEV_H
+
+/* namedev config files */
+#define COMMENT_CHARACTER '#'
+#define NAMEDEV_CONFIG_ROOT "/home/greg/src/udev/"
+#define NAMEDEV_CONFIG_PERMISSION_FILE "namedev.permissions"
+#define NAMEDEV_CONFIG_FILE "namedev.config"
+
+extern int namedev_init(void);
+
+#endif