open5gs/lib/sbi/support/r16-20230226-openapitools-6.4.0/openapi-generator/templates/keyValuePair.h.mustache
Sukchan Lee ce668c556c [SBI] Fixed openapitools MAP generation (#2103)
MAP was generated incorrectly because {{#items}}..{{#items}} was
missing.

Because of this, If scpInfo has scpPort, NRF crashes.
2023-02-26 10:01:08 +09:00

25 lines
427 B
Text

#ifndef OGS_SBI_MAP_H
#define OGS_SBI_MAP_H
#include "ogs-core.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_map_s {
char *key;
void *value;
} OpenAPI_map_t;
OpenAPI_map_t *OpenAPI_map_create(char *key, void *value);
OpenAPI_map_t *OpenAPI_map_create_allocate(char *key, double value);
void OpenAPI_map_free(OpenAPI_map_t *OpenAPI_map);
#ifdef __cplusplus
}
#endif
#endif /* OGS_SBI_MAP_H */