pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Data Fields
mainloop_fd_callbacks Struct Reference

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

Data Fields

int(* dispatch )(gpointer userdata)
 Dispatch function for mainloop file descriptor with data ready. More...
 
void(* destroy )(gpointer userdata)
 Destroy function for mainloop file descriptor client data. More...
 

Detailed Description

Definition at line 130 of file mainloop.h.

Field Documentation

◆ destroy

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

Destroy function for mainloop file descriptor client data.

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

Definition at line 145 of file mainloop.h.

◆ dispatch

int(* mainloop_fd_callbacks::dispatch) (gpointer userdata)

Dispatch function for mainloop file descriptor with data ready.

Parameters
[in,out]userdataUser data passed when creating mainloop source
Returns
Negative value to remove source, anything else to keep it

Definition at line 138 of file mainloop.h.


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