23 #ifndef INCLUDE_WEBCOM_C_WEBCOM_BASE_H_ 24 #define INCLUDE_WEBCOM_C_WEBCOM_BASE_H_ 81 #define WC_POLLHUP (POLLHUP|POLLERR) 82 #define WC_POLLIN (POLLIN) 83 #define WC_POLLOUT (POLLOUT) 124 #define WC_BASE_EVENT_OFFSET 0x00000001 125 #define WC_DATASYNC_EVENT_OFFSET 0x00000100 126 #define WC_AUTH_EVENT_OFFSET 0x00010000
short events
a mask of events (WC_POLL* macros)
Definition: webcom-base.h:111
wc_on_event_cb_t callback
Definition: webcom-base.h:220
int no_tls
Definition: webcom-base.h:221
uint16_t port
Definition: webcom-base.h:219
char * app_name
Definition: webcom-base.h:217
void * user_data
Definition: webcom-base.h:222
char * host
Definition: webcom-base.h:218
Definition: webcom-base.h:109
long ms
timer delay in milliseconds
Definition: webcom-base.h:119
int repeat
1 if this timer should be recurring, 0 otherwise (only relevant for the WC_EVENT_SET_TIMER event) ...
Definition: webcom-base.h:121
int fd
file descriptor
Definition: webcom-base.h:110
Definition: webcom-base.h:216
enum wc_pollsrc src
the origin of this event
Definition: webcom-base.h:112
Definition: webcom-base.h:118