From e1d7b7771e915a01b5f1dd12664a6ac7fb397dfb Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 27 Oct 2026 20:31:53 +0100 Subject: Second half of moving the stat enum defines to trackerlogic --- ot_stats.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'ot_stats.h') 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 { EVENT_CONNID_MISSMATCH } ot_status_event; -enum { - CODE_HTTPERROR_302, - CODE_HTTPERROR_400, - CODE_HTTPERROR_400_PARAM, - CODE_HTTPERROR_400_COMPACT, - CODE_HTTPERROR_402_NOTMODEST, - CODE_HTTPERROR_402_PAYMENT_REQUIRED, - CODE_HTTPERROR_403_IP, - CODE_HTTPERROR_404, - CODE_HTTPERROR_500, - - CODE_HTTPERROR_COUNT -}; +void stats_counters_register(struct ot_workstruct *ws); +void stats_counters_retire(struct ot_workstruct *ws); + void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_data); void stats_deliver(int64_t sock, int tasktype); -- cgit v1.3