forked from acouzens/open5gs
32 lines
820 B
C
32 lines
820 B
C
/*
|
|
* preemption_vulnerability.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_preemption_vulnerability_H_
|
|
#define _OpenAPI_preemption_vulnerability_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 enum { OpenAPI_preemption_vulnerability_NULL = 0, OpenAPI_preemption_vulnerability_NOT_PREEMPTABLE, OpenAPI_preemption_vulnerability_PREEMPTABLE } OpenAPI_preemption_vulnerability_e;
|
|
|
|
char* OpenAPI_preemption_vulnerability_ToString(OpenAPI_preemption_vulnerability_e preemption_vulnerability);
|
|
|
|
OpenAPI_preemption_vulnerability_e OpenAPI_preemption_vulnerability_FromString(char* preemption_vulnerability);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_preemption_vulnerability_H_ */
|
|
|