diff options
Diffstat (limited to 'src/stats/stats-event-category.h')
-rw-r--r-- | src/stats/stats-event-category.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/stats/stats-event-category.h b/src/stats/stats-event-category.h new file mode 100644 index 0000000..b56fc91 --- /dev/null +++ b/src/stats/stats-event-category.h @@ -0,0 +1,12 @@ +#ifndef STATS_EVENT_CATEGORY_H +#define STATS_EVENT_CATEGORY_H + +/* Register a new event category if it doesn't already exist. + parent may be NULL. */ +void stats_event_category_register(const char *name, + struct event_category *parent); + +void stats_event_categories_init(void); +void stats_event_categories_deinit(void); + +#endif |