1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef REQUEST_H #define REQUEST_H #include "rtclient/typedefs.h" struct body { size_t num_pairs; struct pair { const char *key; const char *value; } pairs[20]; }; void request(void (*)(rtclient_response *), void (*)(void *), struct body *, char *, ...); #endif