pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
Macros | Enumerations | Functions
services_compat.h File Reference

Deprecated services API. More...

#include <crm/common/results.h>
#include <crm/services.h>
#include <glib.h>
Include dependency graph for services_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LSB_ROOT_DIR   "/etc/init.d"
 

Enumerations

enum  op_status {
  PCMK_LRM_OP_UNKNOWN = PCMK_EXEC_UNKNOWN , PCMK_LRM_OP_PENDING = PCMK_EXEC_PENDING , PCMK_LRM_OP_DONE = PCMK_EXEC_DONE , PCMK_LRM_OP_CANCELLED = PCMK_EXEC_CANCELLED ,
  PCMK_LRM_OP_TIMEOUT = PCMK_EXEC_TIMEOUT , PCMK_LRM_OP_NOTSUPPORTED = PCMK_EXEC_NOT_SUPPORTED , PCMK_LRM_OP_ERROR = PCMK_EXEC_ERROR , PCMK_LRM_OP_ERROR_HARD = PCMK_EXEC_ERROR_HARD ,
  PCMK_LRM_OP_ERROR_FATAL = PCMK_EXEC_ERROR_FATAL , PCMK_LRM_OP_NOT_INSTALLED = PCMK_EXEC_NOT_INSTALLED , PCMK_LRM_OP_NOT_CONNECTED = PCMK_EXEC_NOT_CONNECTED , PCMK_LRM_OP_INVALID = PCMK_EXEC_INVALID
}
 

Functions

svc_action_tservices_action_create (const char *name, const char *action, guint interval_ms, int timeout)
 
GList * services_list (void)
 

Detailed Description

Deprecated services API.

Deprecated:
Do not include this header directly. The service APIs in this header, and the header itself, will be removed in a future release.

Definition in file services_compat.h.

Macro Definition Documentation

◆ LSB_ROOT_DIR

#define LSB_ROOT_DIR   "/etc/init.d"
Deprecated:
Do not use

Definition at line 33 of file services_compat.h.

Enumeration Type Documentation

◆ op_status

enum op_status
Deprecated:
Use enum pcmk_exec_status instead
Enumerator
PCMK_LRM_OP_UNKNOWN 
PCMK_LRM_OP_PENDING 
PCMK_LRM_OP_DONE 
PCMK_LRM_OP_CANCELLED 
PCMK_LRM_OP_TIMEOUT 
PCMK_LRM_OP_NOTSUPPORTED 
PCMK_LRM_OP_ERROR 
PCMK_LRM_OP_ERROR_HARD 
PCMK_LRM_OP_ERROR_FATAL 
PCMK_LRM_OP_NOT_INSTALLED 
PCMK_LRM_OP_NOT_CONNECTED 
PCMK_LRM_OP_INVALID 

Definition at line 37 of file services_compat.h.

Function Documentation

◆ services_action_create()

svc_action_t * services_action_create ( const char *  name,
const char *  action,
guint  interval_ms,
int  timeout 
)
Deprecated:
Use resources_action_create() instead

Definition at line 327 of file services_lsb.c.

◆ services_list()

GList * services_list ( void  )
Deprecated:
Use resources_list_agents() instead

Definition at line 335 of file services_lsb.c.