| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
enum OobsServiceStatus; OobsService; void oobs_service_set_runlevel_configuration (OobsService *service, OobsServicesRunlevel *runlevel, OobsServiceStatus status, gint priority); void oobs_service_get_runlevel_configuration (OobsService *service, OobsServicesRunlevel *runlevel, OobsServiceStatus *status, gint *priority); const gchar* oobs_service_get_name (OobsService *service);
typedef enum
{
OOBS_SERVICE_START,
OOBS_SERVICE_STOP,
OOBS_SERVICE_IGNORE
} OobsServiceStatus;
void oobs_service_set_runlevel_configuration
(OobsService *service,
OobsServicesRunlevel *runlevel,
OobsServiceStatus status,
gint priority);
Sets the configuration of a service for a given runlevel.
|
An OobsService. |
|
A OobsServicesRunlevel. |
|
status for the service in the given runlevel |
|
priority for the service in the given runlevel. |
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.
|
An OobsService. |
|
An OobsServiceRunlevel. |
|
return value for the current service status. |
|
return value for the current service priority. |
const gchar* oobs_service_get_name (OobsService *service);
Returns the service name
|
An OobsService. |
Returns : |
A pointer to the service name as a string. This string must not be freed, modified or stored. |
"name" property"name" gchar* : Read / Write / Construct Only
Name of the service.
Default value: NULL