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

Diff of /trunk/src/rc.h

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

Revision 2985 Revision 2986
90/*! Remove the service from the runlevel 90/*! Remove the service from the runlevel
91 * @param runlevel to remove from 91 * @param runlevel to remove from
92 * @param service to remove 92 * @param service to remove
93 * @return true if sucessful, otherwise false */ 93 * @return true if sucessful, otherwise false */
94bool rc_service_delete (const char *runlevel, const char *service); 94bool rc_service_delete (const char *runlevel, const char *service);
95
96/*! Save the arguments to find a running daemon
97 * @param service to save arguments for
98 * @param exec that we started
99 * @param name of the process (optional)
100 * @param pidfile of the process (optional)
101 * @param started if true, add the arguments otherwise remove existing matching arguments */
102void rc_service_daemon_set (const char *service, const char *exec,
103 const char *name, const char *pidfile,
104 bool started);
95 105
96/*! Returns a description of what the service and/or option does. 106/*! Returns a description of what the service and/or option does.
97 * @param service to check 107 * @param service to check
98 * @param option to check (if NULL, service description) 108 * @param option to check (if NULL, service description)
99 * @return a newly allocated pointer to the description */ 109 * @return a newly allocated pointer to the description */

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

  ViewVC Help
Powered by ViewVC 1.1.20