mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
[Release-17] Upgrade SBI to v17.x.0
This commit is contained in:
parent
969c116e77
commit
4d44b1843e
1687 changed files with 121604 additions and 9310 deletions
40
lib/sbi/openapi/model/umt_time.h
Normal file
40
lib/sbi/openapi/model/umt_time.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* umt_time.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_umt_time_H_
|
||||
#define _OpenAPI_umt_time_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_umt_time_s OpenAPI_umt_time_t;
|
||||
typedef struct OpenAPI_umt_time_s {
|
||||
char *time_of_day;
|
||||
int day_of_week;
|
||||
} OpenAPI_umt_time_t;
|
||||
|
||||
OpenAPI_umt_time_t *OpenAPI_umt_time_create(
|
||||
char *time_of_day,
|
||||
int day_of_week
|
||||
);
|
||||
void OpenAPI_umt_time_free(OpenAPI_umt_time_t *umt_time);
|
||||
OpenAPI_umt_time_t *OpenAPI_umt_time_parseFromJSON(cJSON *umt_timeJSON);
|
||||
cJSON *OpenAPI_umt_time_convertToJSON(OpenAPI_umt_time_t *umt_time);
|
||||
OpenAPI_umt_time_t *OpenAPI_umt_time_copy(OpenAPI_umt_time_t *dst, OpenAPI_umt_time_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_umt_time_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue