Initial commit of the O1 simulator framework.
[sim/o1-interface.git] / ntsimulator / src / ves-messages / heartbeat.h
1 /*
2  * heartbeat.h
3  *
4  *  Created on: Oct 24, 2019
5  *      Author: parallels
6  */
7
8 #ifndef SRC_VES_MESSAGES_HEARTBEAT_H_
9 #define SRC_VES_MESSAGES_HEARTBEAT_H_
10
11 #include <curl/curl.h>
12 #include <stdlib.h>
13 #include <stdbool.h>
14 #include <stdio.h>
15 #include <cjson/cJSON.h>
16
17 #define CURL_MEM_SIZE 2048
18
19 /**
20  * cURL utilities
21 */
22
23 struct MemoryStruct {
24   char *memory;
25   size_t size;
26 };
27
28 int _init_curl(void);
29 int cleanup_curl(void);
30
31 #endif /* SRC_VES_MESSAGES_HEARTBEAT_H_ */