diff options
Diffstat (limited to 'pikul.h')
-rw-r--r-- | pikul.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,13 @@ enum pikul_company { PIKUL_END }; +struct pikul_place { + char *code; + char *district; + char *city; + char *province; +}; + struct pikul_service { char *code; char *name; @@ -20,6 +27,8 @@ extern "C" { #endif void pikul_init(enum pikul_company company, char *provisions[]); +struct pikul_place **pikul_origins(enum pikul_company company); +struct pikul_place **pikul_destinations(enum pikul_company company); struct pikul_service **pikul_services(enum pikul_company company, const char *origin, const char *destination, double weight); void pikul_free_services(struct pikul_service **services); |