diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-02-07 13:53:28 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-02-07 13:53:28 +0100 |
commit | 96da532526fec9bbfc9f53f2c5819520b971710c (patch) | |
tree | 9b23bd0f28bd285b1bb8355187c43c0325019f4a /src/libudev/conf-files.h | |
parent | 94d7639cf2435a92672c6043e8e0333452c24c80 (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.h | 10 |
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 |