Add PCF(Policy Control Function)

This commit is contained in:
Sukchan Lee 2020-12-11 14:03:20 -05:00
parent fb95725ca4
commit 198abc6e8b
299 changed files with 29050 additions and 1075 deletions

View file

@ -0,0 +1,41 @@
/*
* sm_policy_notification.h
*
*
*/
#ifndef _OpenAPI_sm_policy_notification_H_
#define _OpenAPI_sm_policy_notification_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "sm_policy_decision.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_sm_policy_notification_s OpenAPI_sm_policy_notification_t;
typedef struct OpenAPI_sm_policy_notification_s {
char *resource_uri;
struct OpenAPI_sm_policy_decision_s *sm_policy_decision;
} OpenAPI_sm_policy_notification_t;
OpenAPI_sm_policy_notification_t *OpenAPI_sm_policy_notification_create(
char *resource_uri,
OpenAPI_sm_policy_decision_t *sm_policy_decision
);
void OpenAPI_sm_policy_notification_free(OpenAPI_sm_policy_notification_t *sm_policy_notification);
OpenAPI_sm_policy_notification_t *OpenAPI_sm_policy_notification_parseFromJSON(cJSON *sm_policy_notificationJSON);
cJSON *OpenAPI_sm_policy_notification_convertToJSON(OpenAPI_sm_policy_notification_t *sm_policy_notification);
OpenAPI_sm_policy_notification_t *OpenAPI_sm_policy_notification_copy(OpenAPI_sm_policy_notification_t *dst, OpenAPI_sm_policy_notification_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_sm_policy_notification_H_ */