summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
authorerdgeist <>2007-12-03 01:00:58 +0000
committererdgeist <>2007-12-03 01:00:58 +0000
commitec5421cec1207d70f09d7cabc371780e30705b9a (patch)
treecbe05b32dbfcfa923af162db014379793cd82802 /ot_mutex.h
parentfd4116140788b3e2b023eaf0bf223a429ec3f36d (diff)
Simplify includes, add new STATS code for scrapes
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index 5cee3f5..43c3054 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -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
10void mutex_init( ); 7void mutex_init( );
11void mutex_deinit( ); 8void 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