/[baselayout]/trunk/src/rc.h
Gentoo

Diff of /trunk/src/rc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2986 Revision 2987
272/*! Load the cached dependency tree and return a pointer to it. 272/*! Load the cached dependency tree and return a pointer to it.
273 * This pointer should be freed with rc_deptree_free when done. 273 * This pointer should be freed with rc_deptree_free when done.
274 * @return pointer to the dependency tree */ 274 * @return pointer to the dependency tree */
275rc_depinfo_t *rc_deptree_load (void); 275rc_depinfo_t *rc_deptree_load (void);
276 276
277/*! List all the services in order that the given services have
278 * for the given types and options.
279 * @param deptree to search
280 * @param types to use (ineed, iuse, etc)
281 * @param services to check
282 * @param options to pass
283 * @return NULL terminated list of services in order */
277char **rc_deptree_depends (rc_depinfo_t *deptree, char **types, 284char **rc_deptree_depends (rc_depinfo_t *deptree, char **types,
278 char **services, const char *runlevel, int options); 285 char **services, const char *runlevel, int options);
279 286
280/*! List all the services that should be stoppned and then started, in order, 287/*! List all the services that should be stoppned and then started, in order,
281 * for the given runlevel, including sysinit and boot services where 288 * for the given runlevel, including sysinit and boot services where
284 * @param runlevel to change into 291 * @param runlevel to change into
285 * @param options to pass 292 * @param options to pass
286 * @return NULL terminated list of services in order */ 293 * @return NULL terminated list of services in order */
287char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel, 294char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
288 int options); 295 int options);
296
289/*! Free a deptree and its information 297/*! Free a deptree and its information
290 * @param deptree to free */ 298 * @param deptree to free */
291void rc_deptree_free (rc_depinfo_t *deptree); 299void rc_deptree_free (rc_depinfo_t *deptree);
292 300
293/*! @name Plugins 301/*! @name Plugins

Legend:
Removed from v.2986  
changed lines
  Added in v.2987

  ViewVC Help
Powered by ViewVC 1.1.20