1 #ifndef WCCOMMONCALLBACKS_H_INCLUDED
2 #define WCCOMMONCALLBACKS_H_INCLUDED
33 #define EXEC_METHOD(meth, ...) (*(meth.exec))(meth.self, ##__VA_ARGS__)
34 #define _ASSIGNED(meth) (meth.self != NULL)
36 static const EmptyNotify NULL_EmptyNotify = {NULL, NULL};
37 static const NotifyEvent NULL_NotifyEvent = {NULL, NULL};
38 static const TaskNotify NULL_TaskNotify = {NULL, NULL};
43 static const DoExecute NULL_DoExecute = {NULL, NULL};
44 static const DoExecuteEx NULL_DoExecuteEx = {NULL, NULL};
Definition: wcCommonCallbacks.h:19
CStringNotifyFunc exec
Definition: wcCommonCallbacks.h:19
Definition: wcCommonCallbacks.h:17
ConnNotifyEventFunc exec
Definition: wcCommonCallbacks.h:17
Definition: wcCommonCallbacks.h:23
DataAltNotifyEventFunc exec
Definition: wcCommonCallbacks.h:23
Definition: wcCommonCallbacks.h:21
DataNotifyEventFunc exec
Definition: wcCommonCallbacks.h:21
Definition: wcCommonCallbacks.h:29
DoExecuteCheckFunc exec
Definition: wcCommonCallbacks.h:29
Definition: wcCommonCallbacks.h:27
DoExecuteExFunc exec
Definition: wcCommonCallbacks.h:27
Definition: wcCommonCallbacks.h:25
DoExecuteFunc exec
Definition: wcCommonCallbacks.h:25
Definition: wcCommonCallbacks.h:11
EmptyNotifyFunc exec
Definition: wcCommonCallbacks.h:11
Definition: wcCommonCallbacks.h:31
JSONStrNotifyEventFunc exec
Definition: wcCommonCallbacks.h:31
Definition: wcCommonCallbacks.h:13
NotifyEventFunc exec
Definition: wcCommonCallbacks.h:13
Definition: wcCommonCallbacks.h:15
TaskNotifyFunc exec
Definition: wcCommonCallbacks.h:15
void(* DataAltNotifyEventFunc)(wcCallbackClient, wcCallbackTask, void *, size_t)
Definition: wcCommonCallbacks.h:22
struct NotifyEvent NotifyEvent
void * wcCallbackTask
Definition: wcCommonCallbacks.h:8
int(* DoExecuteCheckFunc)(void *, void *, const void *)
Definition: wcCommonCallbacks.h:28
struct DataAltNotifyEvent DataAltNotifyEvent
struct DoExecute DoExecute
struct ConnNotifyEvent ConnNotifyEvent
void(* CStringNotifyFunc)(wcCallbackClient self, const char *)
Definition: wcCommonCallbacks.h:18
void(* JSONStrNotifyEventFunc)(wcCallbackClient, wcCallbackTask, const char *)
Definition: wcCommonCallbacks.h:30
void(* DoExecuteExFunc)(void *, void *, const void *)
Definition: wcCommonCallbacks.h:26
void(* DataNotifyEventFunc)(wcCallbackClient, wcCallbackTask, void *)
Definition: wcCommonCallbacks.h:20
struct DoExecuteEx DoExecuteEx
struct DoExecuteCheck DoExecuteCheck
struct TaskNotify TaskNotify
void(* EmptyNotifyFunc)(wcCallbackClient self)
Definition: wcCommonCallbacks.h:10
struct CStringNotify CStringNotify
void(* ConnNotifyEventFunc)(wcCallbackClient, int)
Definition: wcCommonCallbacks.h:16
void(* NotifyEventFunc)(wcCallbackClient self, void *)
Definition: wcCommonCallbacks.h:12
void * wcCallbackClient
Definition: wcCommonCallbacks.h:7
struct EmptyNotify EmptyNotify
void(* DoExecuteFunc)(void *, void *)
Definition: wcCommonCallbacks.h:24
struct JSONStrNotifyEvent JSONStrNotifyEvent
struct DataNotifyEvent DataNotifyEvent
void(* TaskNotifyFunc)(wcCallbackClient, wcCallbackTask)
Definition: wcCommonCallbacks.h:14