diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-04-09 12:52:28 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-04-09 12:52:28 -0400 |
commit | d3b011efa05bbca15f0a7da7412f0d5634f4f962 (patch) | |
tree | b98a78fa0540ca04fc9951b980b61203a0627efd /src/lib/mdb.h | |
parent | 6eaa6e615a18422b140a7661ae5e31d48743324c (diff) |
Update delkeys to handle both batch and single operations
Diffstat (limited to 'src/lib/mdb.h')
-rw-r--r-- | src/lib/mdb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/mdb.h b/src/lib/mdb.h index 1a47a52..b5dc768 100644 --- a/src/lib/mdb.h +++ b/src/lib/mdb.h @@ -20,13 +20,11 @@ typedef struct { // Table operations tabidx_t getkey(tablist_t *list, int id, char *key); -// TODO: Make these private -int delkey(tablist_t *list, int id, char *key); // Batch Operations int *getkeys(tablist_t *list, int id); // TODO: Reimplement getkeys int setkeys(tablist_t **list, int id, char *pair); -int delkeys(tablist_t *list, char *key); +int delkeys(tablist_t *list, int id, char *key); // file operations tablist_t *readdb(char *filename); |