summaryrefslogtreecommitdiff
path: root/ot_stats.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-27 20:31:53 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-27 20:31:53 +0100
commite1d7b7771e915a01b5f1dd12664a6ac7fb397dfb (patch)
tree61f81ee0eb91d25dc62541edaa8d021482bf8328 /ot_stats.h
parent166cd9b591464417600035e88993ca4d7e8cd44b (diff)
Second half of moving the stat enum defines to trackerlogic
Diffstat (limited to 'ot_stats.h')
-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);