diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-27 20:31:53 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-27 20:31:53 +0100 |
| commit | e1d7b7771e915a01b5f1dd12664a6ac7fb397dfb (patch) | |
| tree | 61f81ee0eb91d25dc62541edaa8d021482bf8328 /ot_stats.h | |
| parent | 166cd9b591464417600035e88993ca4d7e8cd44b (diff) | |
Second half of moving the stat enum defines to trackerlogic
Diffstat (limited to 'ot_stats.h')
| -rw-r--r-- | ot_stats.h | 14 |
1 files changed, 2 insertions, 12 deletions
| @@ -27,19 +27,9 @@ typedef enum { | |||
| 27 | EVENT_CONNID_MISSMATCH | 27 | EVENT_CONNID_MISSMATCH |
| 28 | } ot_status_event; | 28 | } ot_status_event; |
| 29 | 29 | ||
| 30 | enum { | 30 | void stats_counters_register(struct ot_workstruct *ws); |
| 31 | CODE_HTTPERROR_302, | 31 | void 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 | ||
| 44 | void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_data); | 34 | void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_data); |
| 45 | void stats_deliver(int64_t sock, int tasktype); | 35 | void stats_deliver(int64_t sock, int tasktype); |
