const char data[]
Make it with: gcc -o post-callback post-callback.c -lcurl.
Definition: post-callback.c:23
ssize_t ksnTRUDPsendto(trudpData *td, int resend_fl, uint32_t id, int attempt, int cmd, int fd, const void *buf, size_t buf_len, int flags, __CONST_SOCKADDR_ARG addr, socklen_t addr_len)
Send to peer through TR-UDP transport.
Definition: tr-udp.c:61
ssize_t ksnTRUDPrecvfrom(trudpData *td, int fd, void *buffer, size_t buffer_len, int flags, __SOCKADDR_ARG addr, socklen_t *addr_len)
Get data from peer through TR-UDP transport.
Definition: tr-udp.c:113
void trudp_event_cb(void *tcd_pointer, int event, void *data, size_t data_length, void *user_data)
TR-UDP event callback.
Definition: tr-udp.c:258