diff options
Diffstat (limited to 'common/include/http_healthcheck.h')
| -rw-r--r-- | common/include/http_healthcheck.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/common/include/http_healthcheck.h b/common/include/http_healthcheck.h new file mode 100644 index 0000000..a883984 --- /dev/null +++ b/common/include/http_healthcheck.h @@ -0,0 +1,24 @@ +#ifndef _HTTP_HEALTHCHECK_H +#define _HTTP_HEALTHCHECK_H + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* + * [http_healthcheck_server] + * enable=1 + * port=8080 + * addr="0.0.0.0" + * path="/status" + */ + +void http_healthcheck_server_start(const char *profile); +void http_healthcheck_server_stop(); + +#ifdef __cplusplus +} +#endif + +#endif |
