aboutsummaryrefslogtreecommitdiff
path: root/dbfp.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbfp.h')
-rw-r--r--dbfp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/dbfp.h b/dbfp.h
new file mode 100644
index 0000000..2efd5e1
--- /dev/null
+++ b/dbfp.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2016 Robin Krahl <robin.krahl@ireas.org>
+ *
+ * dbfp.h
+ */
+
+#ifndef DBFP_H_
+#define DBFP_H_
+
+#define DBFP_BASE_URL "http://open-api.bahn.de/bin/rest.exe"
+
+struct dbfp {
+ char *key;
+};
+
+int dbfp_init(struct dbfp *dbfp, char *key);
+void dbfp_close(struct dbfp *dbfp);
+
+#endif /* DBFP_H_ */