pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
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 74 of file mainloop.h.

Field Documentation

◆ destroy

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

Destroy function for mainloop IPC connection client data.

Parameters
[in,out]userdataUser data passed when creating mainloop source

Definition at line 91 of file mainloop.h.

◆ dispatch

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 84 of file mainloop.h.


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