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

Diff of /trunk/src/rc.h

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

Revision 2976 Revision 2977
108pid_t rc_service_stop (const char *service); 108pid_t rc_service_stop (const char *service);
109 109
110/*! Schedule a service to be started when another service starts 110/*! Schedule a service to be started when another service starts
111 * @param service that starts the scheduled service when started 111 * @param service that starts the scheduled service when started
112 * @param service_to_start service that will be started */ 112 * @param service_to_start service that will be started */
113bool rc_schedule_start_service (const char *service, 113bool rc_service_schedule_start (const char *service,
114 const char *service_to_start); 114 const char *service_to_start);
115/*! Return a NULL terminated list of services that are scheduled to start 115/*! Return a NULL terminated list of services that are scheduled to start
116 * when the given service has started 116 * when the given service has started
117 * @param service to check 117 * @param service to check
118 * @return NULL terminated list of services scheduled to start */ 118 * @return NULL terminated list of services scheduled to start */
119char **rc_services_scheduled_by (const char *service); 119char **rc_services_scheduled_by (const char *service);
120 120
121/*! Clear the list of services scheduled to be started by this service 121/*! Clear the list of services scheduled to be started by this service
122 * @param service to clear */ 122 * @param service to clear */
123void rc_schedule_clear (const char *service); 123void rc_service_schedule_clear (const char *service);
124 124
125/*! Wait for a service to finish 125/*! Wait for a service to finish
126 * @param service to wait for 126 * @param service to wait for
127 * @return true if service finished before timeout, otherwise false */ 127 * @return true if service finished before timeout, otherwise false */
128bool rc_service_wait (const char *service); 128bool rc_service_wait (const char *service);

Legend:
Removed from v.2976  
changed lines
  Added in v.2977

  ViewVC Help
Powered by ViewVC 1.1.20