summaryrefslogtreecommitdiffstats
path: root/src/stats/stats-event-category.h
blob: b56fc916583baef7c2a95a373e4e2c070a4e631b (plain)
1
2
3
4
5
6
7
8
9
10
11
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