summaryrefslogtreecommitdiff
path: root/private.h
blob: 1810c692776a6b93246b932e1650310041365e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <curl/curl.h>
#include <json.h>
#include "pikul.h"

extern struct shipping {
	CURL *handle;
	char *base;
	struct curl_slist *headers;
	const char **status_trail;
	char *url;
	char *post;
	json_tokener *tokener;
	enum {
		PLACES,
		SERVICES,
		ORDER
	} mode;
	const char **trail;
	void *data;
} *shipping_list[];