open5gs/lib/sbi/openapi/model/app_detection_report.h
2023-03-01 19:56:49 +09:00

41 lines
1.4 KiB
C

/*
* app_detection_report.h
*
* Indicates the start or stop of the detected application traffic and the application identifier of the detected application traffic.
*/
#ifndef _OpenAPI_app_detection_report_H_
#define _OpenAPI_app_detection_report_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "app_detection_notif_type.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_app_detection_report_s OpenAPI_app_detection_report_t;
typedef struct OpenAPI_app_detection_report_s {
OpenAPI_app_detection_notif_type_e ad_notif_type;
char *af_app_id;
} OpenAPI_app_detection_report_t;
OpenAPI_app_detection_report_t *OpenAPI_app_detection_report_create(
OpenAPI_app_detection_notif_type_e ad_notif_type,
char *af_app_id
);
void OpenAPI_app_detection_report_free(OpenAPI_app_detection_report_t *app_detection_report);
OpenAPI_app_detection_report_t *OpenAPI_app_detection_report_parseFromJSON(cJSON *app_detection_reportJSON);
cJSON *OpenAPI_app_detection_report_convertToJSON(OpenAPI_app_detection_report_t *app_detection_report);
OpenAPI_app_detection_report_t *OpenAPI_app_detection_report_copy(OpenAPI_app_detection_report_t *dst, OpenAPI_app_detection_report_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_app_detection_report_H_ */