diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-12-31 00:33:49 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-01-15 01:02:11 +0100 |
commit | c3be42006b78809f1087b6a8262caba01f2c7fc1 (patch) | |
tree | 0e31d1ebb9382d0292784aa1dc2b3b51abbfc05e /src/librc/rc.h.in | |
parent | 6fcc55cef80dfaab449b2e5379cb737988f68c24 (diff) |
Rename proc_getent to rc_proc_getent and make it global
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r-- | src/librc/rc.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 350f518e..31b21f16 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -361,6 +361,13 @@ bool rc_newer_than(const char *, const char *, time_t *, char *); * @return true if source is older than target, otherwise false */ bool rc_older_than(const char *, const char *, time_t *, char *); +#ifdef __linux__ +/*! Read variables/values from /proc/cmdline + * @param value + * @return pointer to the value, otherwise NULL */ +char *rc_proc_getent(const char *); +#endif + /*! Update the cached dependency tree if it's older than any init script, * its configuration file or an external configuration file the init script * has specified. |