summaryrefslogtreecommitdiff
path: root/request.h
blob: b8752c0f95d43a36f47b32484a3ee25a88558aa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef REQUEST_H
#define REQUEST_H

#include <stddef.h>
#include "icclient/typedefs.h"

struct body {
	size_t num_pairs;
	struct pair {
		const char *key;
		const char *value;
	} pairs[16];
};

void request(void (*)(icclient_response *), void (*)(void *), struct body *, char *, ...);

#endif