diff options
author | Roy Marples <roy@marples.name> | 2008-07-03 13:11:47 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-07-03 13:11:47 +0000 |
commit | a88a177f991527e545e75588013afd16c647e656 (patch) | |
tree | f759fbfc83664f9c5f502904c917c3c4ee8d6ca8 /src/librc/rc.h.in | |
parent | d61f8318962346b3b2a3f13e7b489d2c0c397b94 (diff) |
Add older_than function to complement newer_than function. Also make the userland instance reversed to be compatable with current baselayout, which truely does suck.
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r-- | src/librc/rc.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 7c94c3eb..30fbfd0e 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -306,6 +306,11 @@ typedef void *RC_DEPTREE; * @return true if source is newer than target, otherwise false */ bool rc_newer_than(const char *, const char *); +/*! Check to see if source is newer than target. + * If target is a directory then we traverse it and it's children. +* @return true if source is newer than target, otherwise false */ +bool rc_older_than(const char *, const char *); + /*! 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. |