mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
[5GC] Added BSF(Binding Support Function)
This commit is contained in:
parent
611986794b
commit
fe89f7cd11
293 changed files with 24988 additions and 1507 deletions
46
lib/sbi/openapi/model/af_event_subscription.h
Normal file
46
lib/sbi/openapi/model/af_event_subscription.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* af_event_subscription.h
|
||||
*
|
||||
* describes the event information delivered in the subscription
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_af_event_subscription_H_
|
||||
#define _OpenAPI_af_event_subscription_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "af_event.h"
|
||||
#include "af_notif_method.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_af_event_subscription_s OpenAPI_af_event_subscription_t;
|
||||
typedef struct OpenAPI_af_event_subscription_s {
|
||||
struct OpenAPI_af_event_s *event;
|
||||
OpenAPI_af_notif_method_e notif_method;
|
||||
int rep_period;
|
||||
int wait_time;
|
||||
} OpenAPI_af_event_subscription_t;
|
||||
|
||||
OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_create(
|
||||
OpenAPI_af_event_t *event,
|
||||
OpenAPI_af_notif_method_e notif_method,
|
||||
int rep_period,
|
||||
int wait_time
|
||||
);
|
||||
void OpenAPI_af_event_subscription_free(OpenAPI_af_event_subscription_t *af_event_subscription);
|
||||
OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJSON *af_event_subscriptionJSON);
|
||||
cJSON *OpenAPI_af_event_subscription_convertToJSON(OpenAPI_af_event_subscription_t *af_event_subscription);
|
||||
OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_copy(OpenAPI_af_event_subscription_t *dst, OpenAPI_af_event_subscription_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_af_event_subscription_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue