From 53176d12ad69757a303609f8e4be5ef8d589546e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 4 Oct 2007 14:15:49 +0000 Subject: [PATCH] document rc_deptree_depends --- src/rc.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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);