collocatordb: add c api
4 files changed