aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 14:11:45 +0000
committerRoy Marples <roy@marples.name>2007-10-04 14:11:45 +0000
commit8b874c9a0f437654ce9dd98c240b5f9cc3989a1e (patch)
tree7c9ed6e259917d499a8c9fe6c884d59174722e18 /src/rc.h
parent48cfeba8b23fa13fbaf63a27df74d385c6cbbace (diff)
Revert making function private
Diffstat (limited to 'src/rc.h')
-rw-r--r--src/rc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rc.h b/src/rc.h
index fe2447de..6f8b7f56 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -93,6 +93,16 @@ bool rc_service_add (const char *runlevel, const char *service);
* @return true if sucessful, otherwise false */
bool rc_service_delete (const char *runlevel, const char *service);
+/*! Save the arguments to find a running daemon
+ * @param service to save arguments for
+ * @param exec that we started
+ * @param name of the process (optional)
+ * @param pidfile of the process (optional)
+ * @param started if true, add the arguments otherwise remove existing matching arguments */
+void rc_service_daemon_set (const char *service, const char *exec,
+ const char *name, const char *pidfile,
+ bool started);
+
/*! Returns a description of what the service and/or option does.
* @param service to check
* @param option to check (if NULL, service description)