X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fntsim-ng%2Fcore%2Fdatastore%2Fschema.h;fp=ntsimulator%2Fsrc%2Fves-messages%2Fheartbeat.h;h=490c3ba9ed820a36d16efc19fc21075b5faf193a;hp=67501126bc1cec5b91e7d99deaa957e7d36da35d;hb=f1d5c9198acde7a7ce296490087cad37e008f688;hpb=f2d8f1002fa93848c80a88e5658db4816cba3020 diff --git a/ntsimulator/src/ves-messages/heartbeat.h b/ntsimulator/ntsim-ng/core/datastore/schema.h similarity index 61% rename from ntsimulator/src/ves-messages/heartbeat.h rename to ntsimulator/ntsim-ng/core/datastore/schema.h index 6750112..490c3ba 100644 --- a/ntsimulator/src/ves-messages/heartbeat.h +++ b/ntsimulator/ntsim-ng/core/datastore/schema.h @@ -1,6 +1,6 @@ /************************************************************************* * -* 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. @@ -15,27 +15,12 @@ * limitations under the License. ***************************************************************************/ -#ifndef SRC_VES_MESSAGES_HEARTBEAT_H_ -#define SRC_VES_MESSAGES_HEARTBEAT_H_ +#pragma once -#include -#include -#include -#include -#include +#include +#include -#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);