forked from acouzens/open5gs
26 lines
427 B
C
26 lines
427 B
C
#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 */
|