summaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-09-02 21:17:20 -0400
committerTest_User <hax@andrewyu.org>2023-09-02 21:17:20 -0400
commit9a1fdcc9d24fe8dd20cacee0e25a57c6219651a2 (patch)
tree3958a711dcb053d034bd4284ce63c91e884799f0 /table.h
parente5a21f16ce6544f5291af4e5413388b9a576d68f (diff)
downloadcoupserv-9a1fdcc9d24fe8dd20cacee0e25a57c6219651a2.tar.gz
coupserv-9a1fdcc9d24fe8dd20cacee0e25a57c6219651a2.zip
clear command, some other old stufff I forgot to commit
Diffstat (limited to 'table.h')
-rw-r--r--table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/table.h b/table.h
index 2683cb2..7bcd6f2 100644
--- a/table.h
+++ b/table.h
@@ -44,3 +44,4 @@ extern int set_table_index(struct table *tbl, struct string name, void *ptr);
extern void * get_table_index(struct table tbl, struct string name);
uint8_t has_table_index(struct table tbl, struct string name);
extern void * remove_table_index(struct table *tbl, struct string name); // returns same as get_table_index
+extern void clear_table(struct table *tbl);