summaryrefslogtreecommitdiff
path: root/include/libsysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libsysfs.h')
-rw-r--r--include/libsysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libsysfs.h b/include/libsysfs.h
index abef288..3e9514c 100644
--- a/include/libsysfs.h
+++ b/include/libsysfs.h
@@ -216,6 +216,8 @@ extern void sysfs_close_root_device(struct sysfs_root_device *root);
extern struct sysfs_root_device *sysfs_open_root_device
(const unsigned char *name);
extern struct dlist *sysfs_get_root_devices(struct sysfs_root_device *root);
+extern void sysfs_close_device_tree(struct sysfs_device *device);
+extern struct sysfs_device *sysfs_open_device_tree(const unsigned char *path);
extern void sysfs_close_device(struct sysfs_device *dev);
extern struct sysfs_device *sysfs_open_device
(const unsigned char *bus, const unsigned char *bus_id);