Top | ![]() |
![]() |
![]() |
![]() |
void | oobs_service_set_runlevel_configuration () |
void | oobs_service_get_runlevel_configuration () |
const gchar * | oobs_service_get_name () |
void oobs_service_set_runlevel_configuration (OobsService *service
,OobsServicesRunlevel *runlevel
,OobsServiceStatus status
,gint priority
);
Sets the configuration of a service for a given runlevel.
service |
An OobsService. |
|
runlevel |
||
status |
status for the service in the given runlevel |
|
priority |
priority for the service in the given runlevel. Use 0 to either keep the previous priority, or get the default value in case the script is new. |
void oobs_service_get_runlevel_configuration (OobsService *service
,OobsServicesRunlevel *runlevel
,OobsServiceStatus *status
,gint *priority
);
Gets the status and priority of a service in a given runlevel.
service |
An OobsService. |
|
runlevel |
An OobsServiceRunlevel. |
|
status |
return value for the current service status. |
|
priority |
return value for the current service priority. |
const gchar *
oobs_service_get_name (OobsService *service
);
Returns the service name