pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ipc_client_callbacks Struct Reference

#include <include/crm/common/mainloop.h>

Data Fields

int(* dispatch )(const char *buffer, ssize_t length, gpointer userdata)
 Dispatch function for an IPC connection used as mainloop source. More...
 
void(* destroy )(gpointer userdata)
 Destroy function for mainloop IPC connection client data. More...
 

Detailed Description

Definition at line 73 of file mainloop.h.

Field Documentation

void(* ipc_client_callbacks::destroy)(gpointer userdata)

Destroy function for mainloop IPC connection client data.

Parameters
[in]userdataUser data passed when creating mainloop source

Definition at line 90 of file mainloop.h.

int(* ipc_client_callbacks::dispatch)(const char *buffer, ssize_t length, gpointer userdata)

Dispatch function for an IPC connection used as mainloop source.

Parameters
[in]bufferMessage read from IPC connection
[in]lengthNumber of bytes in buffer
[in]userdataUser data passed when creating mainloop source
Returns
Negative value to remove source, anything else to keep it

Definition at line 83 of file mainloop.h.


The documentation for this struct was generated from the following file: