summaryrefslogtreecommitdiff
path: root/src/libudev/conf-files.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-02-07 13:53:28 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-02-07 13:53:28 +0100
commit96da532526fec9bbfc9f53f2c5819520b971710c (patch)
tree9b23bd0f28bd285b1bb8355187c43c0325019f4a /src/libudev/conf-files.h
parent94d7639cf2435a92672c6043e8e0333452c24c80 (diff)
udevadm: support updating hwdb from an offset root
Introduce `--root` option to make users run udevadm on rootfs not mounted as / Ease the life of distribution packagers.
Diffstat (limited to 'src/libudev/conf-files.h')
-rw-r--r--src/libudev/conf-files.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libudev/conf-files.h b/src/libudev/conf-files.h
index f37ee1f3db..c2c59dc972 100644
--- a/src/libudev/conf-files.h
+++ b/src/libudev/conf-files.h
@@ -25,7 +25,13 @@
#include "macro.h"
-int conf_files_list(char ***strv, const char *suffix, const char *dir, ...);
-int conf_files_list_strv(char ***strv, const char *suffix, const char **dirs);
+int conf_files_list(char ***strv,
+ const char *prefix,
+ const char *suffix,
+ const char *dir, ...);
+int conf_files_list_strv(char ***strv,
+ const char *prefix,
+ const char *suffix,
+ const char **dirs);
#endif