design_pattern_for_c  V 1.00
event_subscriber_t Struct Reference

EventSubscriber class instance definition, this is storaged in any threads. More...

#include <event_threadpool_data.h>

Data Fields

int fd
 file descripter of this subscriber More...
 
int eventflag
 OR value of EV_TPOOL_XXX definition. More...
 
void(* event_callback )(int socketfd, int eventflag, void *event_arg)
 

Detailed Description

EventSubscriber class instance definition, this is storaged in any threads.

Definition at line 25 of file event_threadpool_data.h.

Field Documentation

◆ event_callback

void(* event_callback) (int socketfd, int eventflag, void *event_arg)

Definition at line 28 of file event_threadpool_data.h.

◆ eventflag

int eventflag

OR value of EV_TPOOL_XXX definition.

Definition at line 27 of file event_threadpool_data.h.

◆ fd

int fd

file descripter of this subscriber

Definition at line 26 of file event_threadpool_data.h.


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