pacemaker  2.1.9-49aab99839
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 84 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 101 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 94 of file mainloop.h.


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