Key-value store implementation in C.