diff options
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); |
