rc_deptree_order_services -> rc_deptree_order
This commit is contained in:
parent
e744a6ba24
commit
4bdf9ab63e
@ -476,8 +476,8 @@ char **rc_deptree_depends (rc_depinfo_t *deptree,
|
|||||||
}
|
}
|
||||||
librc_hidden_def(rc_deptree_depends)
|
librc_hidden_def(rc_deptree_depends)
|
||||||
|
|
||||||
char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel,
|
||||||
int options)
|
int options)
|
||||||
{
|
{
|
||||||
char **list = NULL;
|
char **list = NULL;
|
||||||
char **types = NULL;
|
char **types = NULL;
|
||||||
@ -538,7 +538,7 @@ char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
|||||||
|
|
||||||
return (services);
|
return (services);
|
||||||
}
|
}
|
||||||
librc_hidden_def(rc_deptree_order_services)
|
librc_hidden_def(rc_deptree_order)
|
||||||
|
|
||||||
static bool is_newer_than (const char *file, const char *target)
|
static bool is_newer_than (const char *file, const char *target)
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ librc_hidden_proto(rc_config_value)
|
|||||||
librc_hidden_proto(rc_deptree_depends)
|
librc_hidden_proto(rc_deptree_depends)
|
||||||
librc_hidden_proto(rc_deptree_free)
|
librc_hidden_proto(rc_deptree_free)
|
||||||
librc_hidden_proto(rc_deptree_load)
|
librc_hidden_proto(rc_deptree_load)
|
||||||
librc_hidden_proto(rc_deptree_order_services)
|
librc_hidden_proto(rc_deptree_order)
|
||||||
librc_hidden_proto(rc_deptree_update)
|
librc_hidden_proto(rc_deptree_update)
|
||||||
librc_hidden_proto(rc_deptree_update_needed)
|
librc_hidden_proto(rc_deptree_update_needed)
|
||||||
librc_hidden_proto(rc_env_bool)
|
librc_hidden_proto(rc_env_bool)
|
||||||
|
6
src/rc.h
6
src/rc.h
@ -192,7 +192,7 @@ char *rc_service_value_get (const char *service, const char *option);
|
|||||||
* @param value of the option
|
* @param value of the option
|
||||||
* @return true if saved, otherwise false */
|
* @return true if saved, otherwise false */
|
||||||
bool rc_service_value_set (const char *service, const char *option,
|
bool rc_service_value_set (const char *service, const char *option,
|
||||||
const char *value);
|
const char *value);
|
||||||
|
|
||||||
/*! Wait for a service to finish
|
/*! Wait for a service to finish
|
||||||
* @param service to wait for
|
* @param service to wait for
|
||||||
@ -275,8 +275,8 @@ char **rc_deptree_depends (rc_depinfo_t *deptree, char **types,
|
|||||||
* @param runlevel to change into
|
* @param runlevel to change into
|
||||||
* @param options to pass
|
* @param options to pass
|
||||||
* @return NULL terminated list of services in order */
|
* @return NULL terminated list of services in order */
|
||||||
char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel,
|
||||||
int options);
|
int options);
|
||||||
|
|
||||||
/*! Free a deptree and its information
|
/*! Free a deptree and its information
|
||||||
* @param deptree to free */
|
* @param deptree to free */
|
||||||
|
Loading…
Reference in New Issue
Block a user