summaryrefslogtreecommitdiff
path: root/request.h
diff options
context:
space:
mode:
Diffstat (limited to 'request.h')
-rw-r--r--request.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/request.h b/request.h
index 0b57cf7..e27d284 100644
--- a/request.h
+++ b/request.h
@@ -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