diff options
author | erdgeist <> | 2007-12-03 01:00:58 +0000 |
---|---|---|
committer | erdgeist <> | 2007-12-03 01:00:58 +0000 |
commit | ec5421cec1207d70f09d7cabc371780e30705b9a (patch) | |
tree | cbe05b32dbfcfa923af162db014379793cd82802 /ot_mutex.h | |
parent | fd4116140788b3e2b023eaf0bf223a429ec3f36d (diff) |
Simplify includes, add new STATS code for scrapes
Diffstat (limited to 'ot_mutex.h')
-rw-r--r-- | ot_mutex.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -4,9 +4,6 @@ | |||
4 | #ifndef __OT_MUTEX_H__ | 4 | #ifndef __OT_MUTEX_H__ |
5 | #define __OT_MUTEX_H__ | 5 | #define __OT_MUTEX_H__ |
6 | 6 | ||
7 | #include "ot_iovec.h" | ||
8 | #include "io.h" | ||
9 | |||
10 | void mutex_init( ); | 7 | void mutex_init( ); |
11 | void mutex_deinit( ); | 8 | void mutex_deinit( ); |
12 | 9 | ||
@@ -22,9 +19,9 @@ typedef enum { | |||
22 | TASK_STATS_TOP5 = 0x0002, | 19 | TASK_STATS_TOP5 = 0x0002, |
23 | TASK_STATS_TCP = 0x0003, | 20 | TASK_STATS_TCP = 0x0003, |
24 | TASK_STATS_UDP = 0x0004, | 21 | TASK_STATS_UDP = 0x0004, |
25 | TASK_STATS_FULLSCRAPE = 0x0005, | 22 | TASK_STATS_SCRAPE = 0x0005, |
26 | TASK_STATS_TPB = 0x0006, | 23 | TASK_STATS_FULLSCRAPE = 0x0006, |
27 | TASK_STATS_SCRAPE = 0x0007, | 24 | TASK_STATS_TPB = 0x0007, |
28 | 25 | ||
29 | TASK_STATS_SLASH24S = 0x0100, | 26 | TASK_STATS_SLASH24S = 0x0100, |
30 | 27 | ||