|
|
|
@ -34,7 +34,7 @@ struct service {
|
|
|
|
|
|
|
|
|
|
int parseLevels(const char * str, int emptyOk);
|
|
|
|
|
|
|
|
|
|
/* returns 0 on success, 1 if the service is not chtdeconfig-able, -1 if an
|
|
|
|
|
/* returns 0 on success, 1 if the service is not chkconfig-able, -1 if an
|
|
|
|
|
I/O error occurs (in which case errno can be checked) */
|
|
|
|
|
int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service);
|
|
|
|
|
int currentRunlevel(void);
|
|
|
|
|