From ba0d80672bc1954ab63853f336d5173dafcdde1f Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 8 Feb 2005 22:36:58 +0000 Subject: Moved to here from ../util.c (get_hal_sysfs_path): New function (get_hal_proc_path): New function New file; export the functions mentioned above --- hald/util.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hald/util.h') diff --git a/hald/util.h b/hald/util.h index 84baa20c..30476491 100644 --- a/hald/util.h +++ b/hald/util.h @@ -37,10 +37,6 @@ const gchar *hal_util_get_last_element (const gchar *s); gchar *hal_util_get_parent_path (const gchar *path); -gboolean hal_util_get_device_file (const gchar *sysfs_path, gchar *dev_file, gsize dev_file_length); - -HalDevice *hal_util_find_closest_ancestor (const gchar *sysfs_path); - gchar *hal_util_get_normalized_path (const gchar *path1, const gchar *path2); gboolean hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base); @@ -57,8 +53,6 @@ gboolean hal_util_set_bcd2_from_file (HalDevice *d, const gchar *key, const gcha void hal_util_compute_udi (HalDeviceStore *store, gchar *dst, gsize dstsize, const gchar *format, ...); -gboolean hal_util_set_driver (HalDevice *d, const char *property_name, const char *sysfs_path); - gboolean hal_util_path_ascend (gchar *path); @@ -115,7 +109,4 @@ void hal_util_callout_device_remove (HalDevice *d, HalCalloutsDone callback, gpo #define HAL_PATH_MAX 256 -extern char hal_sysfs_path [HAL_PATH_MAX]; -extern char hal_proc_path [HAL_PATH_MAX]; - #endif /* UTIL_H */ -- cgit v1.2.3