54 void teoSScrSendA(
void *ke, uint16_t event,
void *data,
size_t data_length,
pthread_mutex_t async_func_mutex
Definition: async_calls.h:25
pthread_mutex_t cv_mutex
Definition: async_calls.h:23
const char data[]
Make it with: gcc -o post-callback post-callback.c -lcurl.
Definition: post-callback.c:23
void ksnCoreSendCmdtoA(void *ke, const char *peer, uint8_t cmd, void *data, size_t data_length)
Definition: async_calls.c:368
pthread_t t_id
Definition: async_calls.h:20
pthread_cond_t cv_threshold
Definition: async_calls.h:24
void teoSScrSendA(void *ke, uint16_t event, void *data, size_t data_length, uint8_t cmd)
Definition: async_calls.c:396
Teonet Async class data definition.
Definition: async_calls.h:16
void teoSScrSubscribeA(teoSScrClass *sscr, char *peer_name, uint16_t ev)
Send command to subscribe this host to event at remote peer.
Definition: async_calls.c:461
void sendCmdAnswerToBinaryA(void *ke, void *rd, uint8_t cmd, void *data, size_t data_length)
Definition: async_calls.c:422
void * event_cb
Definition: async_calls.h:19
void * ke
Definition: async_calls.h:18
uint8_t test
Definition: async_calls.h:22
struct teoAsyncClass teoAsyncClass
Teonet Async class data definition.
int f_multi_thread
Definition: async_calls.h:21
teoAsyncClass * teoAsyncInit(void *ke)
Async module initialize.
Definition: async_calls.c:252
File: subscribe.h Author: Kirill Scherba kirill@scherba.ru
Definition: subscribe.h:19
void teoAsyncDestroy(teoAsyncClass *ta)
Async module destroy and free allocated memory.
Definition: async_calls.c:275