pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Typedefs | Functions
ipc_pacemakerd.c File Reference
#include <crm_internal.h>
#include <stdlib.h>
#include <time.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/common/ipc.h>
#include <crm/common/ipc_internal.h>
#include <crm/common/ipc_pacemakerd.h>
#include "crmcommon_private.h"
Include dependency graph for ipc_pacemakerd.c:

Go to the source code of this file.

Typedefs

typedef struct pacemakerd_api_private_s pacemakerd_api_private_t
 

Functions

enum pcmk_pacemakerd_state pcmk_pacemakerd_api_daemon_state_text2enum (const char *state)
 
const char * pcmk_pacemakerd_api_daemon_state_enum2text (enum pcmk_pacemakerd_state state)
 
const char * pcmk__pcmkd_state_enum2friendly (enum pcmk_pacemakerd_state state)
 
const char * pcmk__pcmkd_api_reply2str (enum pcmk_pacemakerd_api_reply reply)
 
pcmk__ipc_methods_tpcmk__pacemakerd_api_methods (void)
 
int pcmk_pacemakerd_api_ping (pcmk_ipc_api_t *api, const char *ipc_name)
 
int pcmk_pacemakerd_api_shutdown (pcmk_ipc_api_t *api, const char *ipc_name)
 

Typedef Documentation

◆ pacemakerd_api_private_t

typedef struct pacemakerd_api_private_s pacemakerd_api_private_t

Function Documentation

◆ pcmk__pacemakerd_api_methods()

pcmk__ipc_methods_t* pcmk__pacemakerd_api_methods ( void  )

Definition at line 264 of file ipc_pacemakerd.c.

◆ pcmk__pcmkd_api_reply2str()

const char* pcmk__pcmkd_api_reply2str ( enum pcmk_pacemakerd_api_reply  reply)

Definition at line 109 of file ipc_pacemakerd.c.

◆ pcmk__pcmkd_state_enum2friendly()

const char* pcmk__pcmkd_state_enum2friendly ( enum pcmk_pacemakerd_state  state)

Definition at line 75 of file ipc_pacemakerd.c.

◆ pcmk_pacemakerd_api_daemon_state_enum2text()

const char* pcmk_pacemakerd_api_daemon_state_enum2text ( enum pcmk_pacemakerd_state  state)

Definition at line 55 of file ipc_pacemakerd.c.

◆ pcmk_pacemakerd_api_daemon_state_text2enum()

enum pcmk_pacemakerd_state pcmk_pacemakerd_api_daemon_state_text2enum ( const char *  state)

Definition at line 38 of file ipc_pacemakerd.c.

◆ pcmk_pacemakerd_api_ping()

int pcmk_pacemakerd_api_ping ( pcmk_ipc_api_t api,
const char *  ipc_name 
)

Definition at line 312 of file ipc_pacemakerd.c.

◆ pcmk_pacemakerd_api_shutdown()

int pcmk_pacemakerd_api_shutdown ( pcmk_ipc_api_t api,
const char *  ipc_name 
)

Definition at line 318 of file ipc_pacemakerd.c.