haproxy/include/haproxy/stats-proxy.h
Amaury Denoyelle 53782b9ea5 MINOR: stats: extract proxy clear-counter in a dedicated function
Split code related to proxies list looping in cli_parse_clear_counters()
to a new dedicated function. This function is placed in the new module
stats-proxy.
2024-05-02 16:43:26 +02:00

15 lines
324 B
C

#ifndef _HAPROXY_STATS_PROXY_H
#define _HAPROXY_STATS_PROXY_H
#include <haproxy/api-t.h>
struct buffer;
struct htx;
struct stconn;
int stats_dump_proxies(struct stconn *sc, struct buffer *buf, struct htx *htx);
void proxy_stats_clear_counters(int clrall, struct list *stat_modules);
#endif /* _HAPROXY_STATS_PROXY_H */