shithub: snippets

ref: f5ad0ff02ba05f2f5e0926b85668968fbebeb721
dir: /qp.h/

View raw version
typedef union Trie Trie;
#pragma incomplete Trie

int qpget(Trie *t, char *k, int len, char **pk, void **pv);
int qpnext(Trie *t, char **pk, int *plen, void **pv);
Trie *qpset(Trie *t, char *k, int len, void *v);