chiark / gitweb /
prepare for new HAL udevdb dump
[elogind.git] / udev_db.h
index 141c586f24702091eb43b2ff4da35b47408d8af7..61ea5b47fc221d7839b96283f3717c1a9b84babb 100644 (file)
--- a/udev_db.h
+++ b/udev_db.h
@@ -1,10 +1,8 @@
 /*
  * udev_db.h
  *
 /*
  * udev_db.h
  *
- * Userspace devfs
- *
  * Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
  * Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
- * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2004-2005 Kay Sievers <kay.sievers@vrfy.org>
  *
  *     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
  *
  *     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
 
 
 extern int udev_db_add_device(struct udevice *dev);
 
 
 extern int udev_db_add_device(struct udevice *dev);
-extern int udev_db_get_device(struct udevice *dev);
 extern int udev_db_delete_device(struct udevice *dev);
 
 extern int udev_db_delete_device(struct udevice *dev);
 
-extern int udev_db_get_device_byname(struct udevice *udev, const char *name);
+extern int udev_db_get_device(struct udevice *udev, const char *devpath);
+extern int udev_db_search_name(char *devpath, size_t len, const char *name);
+extern int udev_db_get_all_entries(struct list_head *name_list);
 
 #endif /* _UDEV_DB_H_ */
 
 #endif /* _UDEV_DB_H_ */