aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-29 16:54:58 +0000
committerRoy Marples <roy@marples.name>2007-09-29 16:54:58 +0000
commitb19e646575876ad9722bf5db33eb67dd280eba1b (patch)
tree96f0c8197522350fa3bd21746ad17a7cb42091a6 /src/rc.h
parent837f43e163b31e40b3ea554d6d031f25789590ac (diff)
Rationalise more functions into rc_service_
Diffstat (limited to 'src/rc.h')
-rw-r--r--src/rc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc.h b/src/rc.h
index 77f51851..af58b090 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -62,7 +62,7 @@ typedef enum
/*! Resolves a service name to its full path.
* @param service to check
* @return pointer to full path of service */
-char *rc_resolve_service (const char *service);
+char *rc_service_resolve (const char *service);
/*! Checks if a service exists or not.
* @param service to check
* @return true if service exists, otherwise false */
@@ -94,17 +94,17 @@ rc_service_state_t rc_service_state (const char *service);
* @param service to mark
* @param state service should be in
* @return true if service state change was successful, otherwise false */
-bool rc_mark_service (const char *service, rc_service_state_t state);
+bool rc_service_mark (const char *service, rc_service_state_t state);
/*! Stop a service
* @param service to stop
* @return pid of service stopping process */
-pid_t rc_stop_service (const char *service);
+pid_t rc_service_stop (const char *service);
/*! Start a service
* @param service to start
* @return pid of the service starting process */
-pid_t rc_start_service (const char *service);
+pid_t rc_service_start (const char *service);
/*! Wait for a process to finish
* @param pid to wait for