aboutsummaryrefslogtreecommitdiffstats
path: root/core/module-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/module-list.h')
-rw-r--r--core/module-list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/module-list.h b/core/module-list.h
index 5e724b8..d29fe95 100644
--- a/core/module-list.h
+++ b/core/module-list.h
@@ -48,6 +48,8 @@ enum { PURE_LIST_ITEMS = 1 << 24, PURE_LIST_RUN = 32 };
PureList *pure_list_new(unsigned fields, const uint8_t *text_fields);
void pure_list_free(PureList *);
+/* Let every item go (retired where a shared copy may read it). */
+void pure_list_clear(PureList *);
size_t pure_list_count(const PureList *);
/* Share the items as they are with a read-only copy (for readers on other
* threads), without copying them: from then on the list copies the nodes it