From 745c643c2f900c8efeb0ac0a8ea3a519b3a790ac Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 26 Feb 2016 01:40:47 +0100 Subject: initial commit --- dbfp.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dbfp.h (limited to 'dbfp.h') 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 + * + * 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_ */ -- cgit v1.2.1