diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-04-16 15:54:36 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-04-16 15:54:36 -0400 |
commit | 525b5b126bae74aa9817dc191beec81714701965 (patch) | |
tree | a830eab2179cb19f04bef15c63226ac77aff0f9f /src/lib/mdb.h | |
parent | 44fa7d3682ff4e102bb7a228e9e5a100a050fea5 (diff) |
Allow getkeys to take multiple keys as argument
Diffstat (limited to 'src/lib/mdb.h')
-rw-r--r-- | src/lib/mdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/mdb.h b/src/lib/mdb.h index a53f4b5..9038aef 100644 --- a/src/lib/mdb.h +++ b/src/lib/mdb.h @@ -19,11 +19,11 @@ typedef struct { } tablist_t; // Table operations +// TODO: Make this private tabidx_t getkey(tablist_t *list, int id, char *key); // Batch Operations -// TODO: make setkeys and delkeys take char ** and int -int *getkeys(tablist_t *list, int id); // TODO: Reimplement getkeys +tabidx_t *getkeys(tablist_t *list, int id, char **keys, int len); // TODO: Reimplement getkeys int setkeys(tablist_t **list, int id, char **pairs, int len); int delkeys(tablist_t *list, int id, char **keys, int len); |