aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/list.c6
-rw-r--r--src/list.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index dc4c20c..afd105c 100644
--- a/src/list.c
+++ b/src/list.c
@@ -102,3 +102,9 @@ list_item_t *clist_iterator_next(iterator_t *iterator)
return current;
}
+
+char *
+clist_version(void)
+{
+ return VERSION;
+}
diff --git a/src/list.h b/src/list.h
index b10c8b1..6bc8c3f 100644
--- a/src/list.h
+++ b/src/list.h
@@ -42,5 +42,6 @@ void clist_remove (list_t *, list_item_t *);
iterator_t clist_iterator (list_t *);
int clist_iterator_has_next(iterator_t *);
list_item_t *clist_iterator_next (iterator_t *);
+char* clist_version (void);
#endif