diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-19 17:21:52 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-19 17:21:52 +0800 |
commit | 74028cd953f94cfd2d0a1f635ed07e25d94c6802 (patch) | |
tree | bb40bcf3f0889e3a5ea4d694996171ad4742e948 /private.h | |
parent | b24e0bdf48e6e4ec2cab90bec1f4a03d26cdfd50 (diff) |
Merge the inline functions to pikul.c
So things are more straight forward, and this makes code more
reusable.
Diffstat (limited to 'private.h')
-rw-r--r-- | private.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/private.h b/private.h new file mode 100644 index 0000000..6df3e91 --- /dev/null +++ b/private.h @@ -0,0 +1,17 @@ +#include <curl/curl.h> +#include "pikul.h" + +extern struct shipping { + enum pikul_company company; + char *base; + struct curl_slist *headers; + const char **status_trail; + char *url; + char *post; + enum { + SERVICES, + ORDER + } mode; + const char **trail; + void *data; +} shipping; |