summaryrefslogtreecommitdiff
path: root/private.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-24 14:09:07 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-24 14:09:07 +0800
commit43bccf79db07e0480b99842615e77183cf2949eb (patch)
treea1e5cedfbb2f6c48438f358b74163a40e38af4c5 /private.h
parentacd4ab68d1f9521983390bfff88dce3980633038 (diff)
parentb960919d909c75dc9c483846c2acec5315a0b7db (diff)
Merge branch 'master' into sicepat
Diffstat (limited to 'private.h')
-rw-r--r--private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/private.h b/private.h
index 6df3e91..954d29e 100644
--- a/private.h
+++ b/private.h
@@ -1,17 +1,19 @@
#include <curl/curl.h>
+#include <json.h>
#include "pikul.h"
extern struct shipping {
- enum pikul_company company;
+ CURL *handle;
char *base;
struct curl_slist *headers;
const char **status_trail;
char *url;
char *post;
+ json_tokener *tokener;
enum {
SERVICES,
ORDER
} mode;
const char **trail;
void *data;
-} shipping;
+} *shipping_list[];