diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-16 15:13:17 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-16 15:13:17 +0800 |
commit | 7270c84fe616357da17baca20437ef1113bb87eb (patch) | |
tree | 6bb618daebec4de3bbb32fa0a93e436396cb24e7 /request.h | |
parent | e2d7e962356e6f064ffcb0c23a9d87580d9beaab (diff) |
Replace struct body with const char *[][2]
Diffstat (limited to 'request.h')
-rw-r--r-- | request.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -3,14 +3,7 @@ #include "interchange/typedefs.h" -struct body { - size_t num_pairs; - struct pair { - const char *key; - const char *value; - } pairs[16]; -}; - -void request(void (*)(interchange_response *), void (*)(void *), struct body *, char *, ...); +void request(void (*)(interchange_response *), void (*)(void *), + const char *[][2], char *, ...); #endif |