aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 14:15:49 +0000
committerRoy Marples <roy@marples.name>2007-10-04 14:15:49 +0000
commit53176d12ad69757a303609f8e4be5ef8d589546e (patch)
tree8f031d9f8946df0e19bcabe28c152eb23a5a13f5 /src
parent8b874c9a0f437654ce9dd98c240b5f9cc3989a1e (diff)
document rc_deptree_depends
Diffstat (limited to 'src')
-rw-r--r--src/rc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rc.h b/src/rc.h
index 6f8b7f56..34f827b6 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -274,6 +274,13 @@ bool rc_deptree_update_needed (void);
* @return pointer to the dependency tree */
rc_depinfo_t *rc_deptree_load (void);
+/*! List all the services in order that the given services have
+ * for the given types and options.
+ * @param deptree to search
+ * @param types to use (ineed, iuse, etc)
+ * @param services to check
+ * @param options to pass
+ * @return NULL terminated list of services in order */
char **rc_deptree_depends (rc_depinfo_t *deptree, char **types,
char **services, const char *runlevel, int options);
@@ -286,6 +293,7 @@ char **rc_deptree_depends (rc_depinfo_t *deptree, char **types,
* @return NULL terminated list of services in order */
char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
int options);
+
/*! Free a deptree and its information
* @param deptree to free */
void rc_deptree_free (rc_depinfo_t *deptree);