/*************************************************************************
*
-* Copyright 2019 highstreet technologies GmbH and others
+* Copyright 2020 highstreet technologies GmbH and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License.
***************************************************************************/
-#ifndef SRC_VES_MESSAGES_HEARTBEAT_H_
-#define SRC_VES_MESSAGES_HEARTBEAT_H_
+#pragma once
-#include <curl/curl.h>
-#include <stdlib.h>
-#include <stdbool.h>
-#include <stdio.h>
-#include <cjson/cJSON.h>
+#include <string.h>
+#include <stdint.h>
-#define CURL_MEM_SIZE 2048
+int schema_get_xpaths(char ***root_xpath); //returns number of xpaths, 0 if none, -1 if error
-/**
- * cURL utilities
-*/
-
-struct MemoryStruct {
- char *memory;
- size_t size;
-};
-
-int _init_curl(void);
-int cleanup_curl(void);
-
-#endif /* SRC_VES_MESSAGES_HEARTBEAT_H_ */
+int schema_print_root_paths(void);
+int schema_print_xpath(const char *xpath);