aboutsummaryrefslogtreecommitdiff
path: root/dbfp.h
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2016-06-06 17:41:19 +0200
committerRobin Krahl <me@robin-krahl.de>2016-06-06 17:41:19 +0200
commit1f0c7d966fdb31f62cf40eac9c39ae2b9e643366 (patch)
tree56e2975e32a74587e4e04274eab45c545f252b16 /dbfp.h
parent47d6867cc86d5239fea690565abe84c526edaa5b (diff)
downloaddbfp-1f0c7d966fdb31f62cf40eac9c39ae2b9e643366.tar.gz
dbfp-1f0c7d966fdb31f62cf40eac9c39ae2b9e643366.tar.bz2
dbfp: add version information to dbfp.h
Diffstat (limited to 'dbfp.h')
-rw-r--r--dbfp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dbfp.h b/dbfp.h
index 02b724d..af74f1d 100644
--- a/dbfp.h
+++ b/dbfp.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2016 Robin Krahl <robin.krahl@ireas.org>
*
- * dbfp.h
+ * dbfp.h -- provides access to the timetable API of the Deutsche Bahn
*/
#ifndef DBFP_H_
@@ -11,6 +11,10 @@
#include <stddef.h>
#include <time.h>
+#define DBFP_VERSION_MAJOR 0
+#define DBFP_VERSION_MINOR 1
+#define DBFP_VERSION_PATCH 0
+
enum dbfp_error {
DBFP_ERROR_CURL = -1,
DBFP_ERROR_FORMAT = -2,