diff options
Diffstat (limited to 'ot_stats.h')
-rw-r--r-- | ot_stats.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 | ||
7 | enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, STATS_SLASH24S, SYNC_IN, SYNC_OUT, STATS_FULLSCRAPE }; | 7 | enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_TCP, STATS_UDP, STATS_SLASH24S, STATS_FULLSCRAPE }; |
8 | typedef enum { | 8 | typedef 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 | ||
20 | size_t return_stats_for_tracker( char *reply, int mode, int format ); | 20 | size_t return_stats_for_tracker( char *reply, int mode, int format ); |
21 | size_t return_memstat_for_tracker( char **reply ); | ||
22 | |||
23 | void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ); | 21 | void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ); |
24 | 22 | ||
25 | #endif | 23 | #endif |