diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-22 18:49:43 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-22 18:49:43 +0800 |
commit | 2ccf1c19b5182bd99b7d717008204737d9cfccd9 (patch) | |
tree | 31f687a7e803cd45593ac305de20bf41a591d262 /pikul.h | |
parent | 66fc2d12fca46246024e567aa18cdf853e194776 (diff) |
No special services struct
Diffstat (limited to 'pikul.h')
-rw-r--r-- | pikul.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -12,18 +12,13 @@ struct pikul_service { double cost; }; -struct pikul_services { - size_t length; - struct pikul_service *list[]; -}; - #ifdef __cplusplus extern "C" { #endif 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); +struct pikul_service **pikul_services(const char *origin, const char *destination, double weight); +void pikul_free_services(struct pikul_service **services); char *pikul_html(const char *origin, const char *destination, double weight, const char *widget, const char *extra, const char *name, const char *value, char *code_prefixes[], char *name_prefixes[]); |