pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ipc_common.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <stdint.h>
#include <sys/types.h>
#include <crm/msg_xml.h>
#include "crmcommon_private.h"
Include dependency graph for ipc_common.c:

Go to the source code of this file.

Macros

#define MIN_MSG_SIZE   12336
 
#define MAX_MSG_SIZE   128*1024
 

Functions

unsigned int pcmk__ipc_buffer_size (unsigned int max)
 
unsigned int crm_ipc_default_buffer_size (void)
 Return pacemaker's default IPC buffer size. More...
 
bool pcmk__valid_ipc_header (const pcmk__ipc_header_t *header)
 
const char * pcmk__client_type_str (uint64_t client_type)
 

Macro Definition Documentation

#define MAX_MSG_SIZE   128*1024

Definition at line 20 of file ipc_common.c.

#define MIN_MSG_SIZE   12336

Definition at line 19 of file ipc_common.c.

Function Documentation

unsigned int crm_ipc_default_buffer_size ( void  )

Return pacemaker's default IPC buffer size.

Returns
IPC buffer size in bytes

Definition at line 62 of file ipc_common.c.

const char* pcmk__client_type_str ( uint64_t  client_type)

Definition at line 96 of file ipc_common.c.

unsigned int pcmk__ipc_buffer_size ( unsigned int  max)

Definition at line 31 of file ipc_common.c.

bool pcmk__valid_ipc_header ( const pcmk__ipc_header_t header)

Definition at line 81 of file ipc_common.c.