collocatordb: add c api
diff --git a/c_testcdb.c b/c_testcdb.c
new file mode 100644
index 0000000..34f05ec
--- /dev/null
+++ b/c_testcdb.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "collocatordb.h"
+
+int main() {
+	COLLOCATORS *cdb = open_collocators("/tmp/test2");
+	inc_collocators(cdb, 2000, 2000, 4);
+	inc_collocators(cdb, 2000, 2001, 4);
+	inc_collocators(cdb, 2000, 2002, 4);
+	dump_collocators(cdb, 2000, 0, 0);
+	return 0;
+}