diff options
author | Roy Marples <roy@marples.name> | 2007-12-20 15:02:04 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-20 15:02:04 +0000 |
commit | c474b810af3a04659be23a745535d612d9f6db4d (patch) | |
tree | 71bb64c7f8afbe583b8758cf4fdca56e2c6cafe1 /src/rc.h | |
parent | 6b37d16a2250e80808ec0b6efa9aa4afeb46a6c3 (diff) |
Constant data and pointers
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -274,7 +274,7 @@ rc_depinfo_t *rc_deptree_load (void); * @param type to use (keywords, etc) * @param service to check * @return NULL terminated list of services in order */ -char **rc_deptree_depend (rc_depinfo_t *deptree, +char **rc_deptree_depend (const rc_depinfo_t *deptree, const char *type, const char *service); /*! List all the services in order that the given services have @@ -284,8 +284,9 @@ char **rc_deptree_depend (rc_depinfo_t *deptree, * @param services to check * @param options to pass * @return NULL terminated list of services in order */ -char **rc_deptree_depends (rc_depinfo_t *deptree, const char **types, - const char **services, const char *runlevel, +char **rc_deptree_depends (const rc_depinfo_t *deptree, + const char *const *types, + const char *const *services, const char *runlevel, int options); /*! List all the services that should be stoppned and then started, in order, @@ -295,7 +296,7 @@ char **rc_deptree_depends (rc_depinfo_t *deptree, const char **types, * @param runlevel to change into * @param options to pass * @return NULL terminated list of services in order */ -char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel, +char **rc_deptree_order (const rc_depinfo_t *deptree, const char *runlevel, int options); /*! Free a deptree and its information |