haproxy/include/haproxy/stats-html.h
Olivier Houchard a7caa14a64 MINOR: stats: Get the right prototype for stats_dump_html_end().
When the stat code was reorganized, and the prototype to
stats_dump_html_end() was moved to its own header, it missed the function
arguments. Fix that.

This should fix issue 2540.
2024-04-19 01:54:00 +02:00

23 lines
722 B
C

#ifndef _HAPROXY_STATS_HTML_H
#define _HAPROXY_STATS_HTML_H
#include <haproxy/stats-html-t.h>
#include <haproxy/applet-t.h>
#include <haproxy/buf-t.h>
#include <haproxy/proxy-t.h>
#include <haproxy/stats-t.h>
#include <haproxy/stconn-t.h>
void stats_dump_html_head(struct appctx *appctx);
void stats_dump_html_info(struct stconn *sc);
int stats_dump_fields_html(struct buffer *out, const struct field *stats,
struct show_stat_ctx *ctx);
void stats_dump_html_px_hdr(struct stconn *sc, struct proxy *px);
void stats_dump_html_px_end(struct stconn *sc, struct proxy *px);
void stats_dump_html_end(struct buffer *out);
extern struct applet http_stats_applet;
#endif /* _HAPROXY_STATS_HTML_H */