summaryrefslogtreecommitdiff
path: root/ot_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_stats.h')
-rw-r--r--ot_stats.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ot_stats.h b/ot_stats.h
index 58eec71..a0c2a6b 100644
--- a/ot_stats.h
+++ b/ot_stats.h
@@ -4,7 +4,7 @@
4#ifndef __OT_STATS_H__ 4#ifndef __OT_STATS_H__
5#define __OT_STATS_H__ 5#define __OT_STATS_H__
6 6
7enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, STATS_SLASH24S, SYNC_IN, SYNC_OUT, STATS_FULLSCRAPE }; 7enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_TCP, STATS_UDP, STATS_SLASH24S, STATS_FULLSCRAPE };
8typedef enum { 8typedef enum {
9 EVENT_ACCEPT, 9 EVENT_ACCEPT,
10 EVENT_READ, 10 EVENT_READ,
@@ -18,8 +18,6 @@ typedef enum {
18} ot_status_event; 18} ot_status_event;
19 19
20size_t return_stats_for_tracker( char *reply, int mode, int format ); 20size_t return_stats_for_tracker( char *reply, int mode, int format );
21size_t return_memstat_for_tracker( char **reply );
22
23void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ); 21void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data );
24 22
25#endif 23#endif