summaryrefslogtreecommitdiff
path: root/pikul.h
diff options
context:
space:
mode:
Diffstat (limited to 'pikul.h')
-rw-r--r--pikul.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pikul.h b/pikul.h
index 26cfc4c..9b60181 100644
--- a/pikul.h
+++ b/pikul.h
@@ -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);