summaryrefslogtreecommitdiff
path: root/common/include/http_healthcheck.h
blob: a883984c522c31c7d6c2d8036421c0634b5daf9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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