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
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

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.

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: