diff options
author | Roy Marples <roy@marples.name> | 2007-10-04 13:38:47 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-04 13:38:47 +0000 |
commit | 379b66936cb2366ce46d5d6a351bd89db6906812 (patch) | |
tree | 3dc8329a3e54b9ec3e5f8f32852d8abdfb2ece46 /src/rc.h | |
parent | 422ac82ef9ff77aa61b51acf7b1ee1ee4c9d4ccb (diff) |
depinfo and deptype are now internal use only. rc-depend cuddles up to getopt.
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -254,15 +254,14 @@ pid_t *rc_find_pids (const char *exec, const char *cmd, #ifndef _IN_LIBRC /* Handles to internal structures */ -typedef void *rc_deptype_t; typedef void *rc_depinfo_t; #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. - * @return 0 if successful, otherwise -1 */ -int rc_deptree_update (void); + * @return true if successful, otherwise false */ +bool rc_deptree_update (void); /*! Check if the cached dependency tree is older than any init script, * its configuration file or an external configuration file the init script @@ -275,18 +274,6 @@ bool rc_deptree_update_needed (void); * @return pointer to the dependency tree */ rc_depinfo_t *rc_deptree_load (void); -/*! Get a services depedency information from a loaded tree - * @param deptree to search - * @param service to find - * @return service dependency information */ -rc_depinfo_t *rc_deptree_depinfo (rc_depinfo_t *deptree, const char *service); - -/*! Get a depenency type from the service dependency information - * @param depinfo service dependency to search - * @param type to find - * @return service dependency type information */ -rc_deptype_t *rc_deptree_deptype (rc_depinfo_t *depinfo, const char *type); - char **rc_deptree_depends (rc_depinfo_t *deptree, char **types, char **services, const char *runlevel, int options); |