Add some directory structure
Change-Id: I052849c6aff9fd0f311984de67c35a306735c9a9
diff --git a/examples/c_testcdb.c b/examples/c_testcdb.c
new file mode 100644
index 0000000..b143ccd
--- /dev/null
+++ b/examples/c_testcdb.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "../src/collocatordb.h"
+
+int main() {
+ COLLOCATORDB *cdb = open_collocatordb_for_write("/tmp/test.rocksdb");
+ inc_collocator(cdb, 2000, 2000, 4);
+ inc_collocator(cdb, 2000, 2001, 4);
+ inc_collocator(cdb, 2000, 2002, 4);
+ dump_collocators(cdb, 2000, 0, 0);
+ return 0;
+}