summaryrefslogtreecommitdiff
path: root/request.h
blob: 4c559fbfc52884f7cf3152408be8a1ed0c14fba5 (plain)
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