diff options
author | Roy Marples <roy@marples.name> | 2007-10-04 14:11:45 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-04 14:11:45 +0000 |
commit | 8b874c9a0f437654ce9dd98c240b5f9cc3989a1e (patch) | |
tree | 7c9ed6e259917d499a8c9fe6c884d59174722e18 /src/rc.h | |
parent | 48cfeba8b23fa13fbaf63a27df74d385c6cbbace (diff) |
Revert making function private
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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) |