haproxy/include/haproxy/cfgdiag.h
Amaury Denoyelle 5a6926dcf0 MINOR: diag: create cfgdiag module
This module is intended to serve as a placeholder for various
diagnostics executed after the configuration file has been fully loaded.
2021-04-01 18:03:37 +02:00

12 lines
342 B
C

#ifndef _HAPROXY_CFGDIAG_H
#define _HAPROXY_CFGDIAG_H
/* Placeholder to execute various diagnostic checks after the configuration file
* has been fully parsed. It will output a warning for each diagnostic found.
*
* Returns 0 if no diagnostic message has been found else 1.
*/
int cfg_run_diagnostics();
#endif /* _HAPROXY_CFGDIAG_H */