summaryrefslogtreecommitdiff
path: root/pikul.h
diff options
context:
space:
mode:
Diffstat (limited to 'pikul.h')
-rw-r--r--pikul.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pikul.h b/pikul.h
index 8e41762..4802547 100644
--- a/pikul.h
+++ b/pikul.h
@@ -4,9 +4,17 @@
enum pikul_company {
PIKUL,
PIKUL_ANTERAJA,
+ PIKUL_SICEPAT,
PIKUL_END
};
+struct pikul_place {
+ char *code;
+ char *district;
+ char *city;
+ char *province;
+};
+
struct pikul_service {
char *code;
char *name;
@@ -19,6 +27,9 @@ 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);
+void pikul_free_places(struct pikul_place **places);
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);