summaryrefslogtreecommitdiff
path: root/pikul.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-20 00:11:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-20 00:11:56 +0800
commit1264915af1cd1f47a34873360c4e88ae73a1bd33 (patch)
treec98c331871a559fe47df921e5ffd515257e53b39 /pikul.h
parent0f4b2281ee59811e72a9975dd019891eb334683e (diff)
Function to get list of just the service codes
Diffstat (limited to 'pikul.h')
-rw-r--r--pikul.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pikul.h b/pikul.h
index fde0483..07c6880 100644
--- a/pikul.h
+++ b/pikul.h
@@ -24,6 +24,7 @@ extern "C" {
void pikul_init(enum pikul_company company, char *provisions[]);
struct pikul_services *pikul_services(const char *origin, const char *destination, double weight);
void pikul_free_services(struct pikul_services *services);
+char **pikul_codes(const char *origin, const char *destination, double weight);
double pikul_cost(const char *origin, const char *destination, double weight, const char *service);
char *pikul_order(const char *order_number, const char *service, const char *sender_name,
const char *sender_phone, const char *origin, const char *sender_address,