pacemaker  2.1.1-52dc28db4
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 129 of file mainloop.h.

Field Documentation

◆ destroy

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

Destroy function for mainloop file descriptor client data.

Parameters
[in]userdataUser data passed when creating mainloop source

Definition at line 144 of file mainloop.h.

◆ dispatch

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

Dispatch function for mainloop file descriptor with data ready.

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

Definition at line 137 of file mainloop.h.


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