summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_stats.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/ot_stats.h b/ot_stats.h
index fb6aad8..a118b4f 100644
--- a/ot_stats.h
+++ b/ot_stats.h
@@ -27,19 +27,9 @@ typedef enum {
27 EVENT_CONNID_MISSMATCH 27 EVENT_CONNID_MISSMATCH
28} ot_status_event; 28} ot_status_event;
29 29
30enum { 30void stats_counters_register(struct ot_workstruct *ws);
31 CODE_HTTPERROR_302, 31void stats_counters_retire(struct ot_workstruct *ws);
32 CODE_HTTPERROR_400,
33 CODE_HTTPERROR_400_PARAM,
34 CODE_HTTPERROR_400_COMPACT,
35 CODE_HTTPERROR_402_NOTMODEST,
36 CODE_HTTPERROR_402_PAYMENT_REQUIRED,
37 CODE_HTTPERROR_403_IP,
38 CODE_HTTPERROR_404,
39 CODE_HTTPERROR_500,
40 32
41 CODE_HTTPERROR_COUNT
42};
43 33
44void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_data); 34void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_data);
45void stats_deliver(int64_t sock, int tasktype); 35void stats_deliver(int64_t sock, int tasktype);