]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/irc_dictionary.h
Fix a typo in configure (glad it was only a minor typo in the help text)
[irc/rqf/shadowircd.git] / include / irc_dictionary.h
index 5d762848d6a6e9cac62f36edcc4a02e5354be6eb..69f3babc60f64c54d6bded58ffb65605fdfc6269 100644 (file)
@@ -150,6 +150,11 @@ extern void *irc_dictionary_retrieve(struct Dictionary *dtree, const char *key);
  */
 extern void *irc_dictionary_delete(struct Dictionary *dtree, const char *key);
 
+/*
+ * irc_dictionary_size() returns the number of elements in a dictionary tree.
+ */
+extern unsigned int irc_dictionary_size(struct Dictionary *dtree);
+
 void irc_dictionary_stats(struct Dictionary *dict, void (*cb)(const char *line, void *privdata), void *privdata);
 
 #endif