mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
comply with coding standard
This commit is contained in:
parent
f278d58a69
commit
2471b1b53d
562 changed files with 3332 additions and 3332 deletions
|
|
@ -448,14 +448,14 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [af_app_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "afRoutReq");
|
||||
|
||||
OpenAPI_af_routing_requirement_t *af_rout_req_local_nonprim = NULL;
|
||||
if (af_rout_req) {
|
||||
af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_parseFromJSON(af_rout_req);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *qos_reference = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "qosReference");
|
||||
|
||||
|
|
@ -464,7 +464,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [qos_reference]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *dis_ue_notif = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "disUeNotif");
|
||||
|
||||
|
|
@ -473,7 +473,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [dis_ue_notif]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *alt_ser_reqs = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "altSerReqs");
|
||||
|
||||
|
|
@ -493,7 +493,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
}
|
||||
OpenAPI_list_add(alt_ser_reqsList , ogs_strdup_or_assert(alt_ser_reqs_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *cont_ver = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "contVer");
|
||||
|
||||
|
|
@ -502,7 +502,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [cont_ver]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *codecs = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "codecs");
|
||||
|
||||
|
|
@ -522,7 +522,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
}
|
||||
OpenAPI_list_add(codecsList , ogs_strdup_or_assert(codecs_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *des_max_latency = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "desMaxLatency");
|
||||
|
||||
|
|
@ -531,7 +531,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [des_max_latency]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *des_max_loss = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "desMaxLoss");
|
||||
|
||||
|
|
@ -540,7 +540,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [des_max_loss]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *flus_id = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "flusId");
|
||||
|
||||
|
|
@ -549,7 +549,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [flus_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "fStatus");
|
||||
|
||||
|
|
@ -560,7 +560,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "marBwDl");
|
||||
|
||||
|
|
@ -569,7 +569,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [mar_bw_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "marBwUl");
|
||||
|
||||
|
|
@ -578,7 +578,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [mar_bw_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_packet_loss_rate_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxPacketLossRateDl");
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_packet_loss_rate_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_packet_loss_rate_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxPacketLossRateUl");
|
||||
|
||||
|
|
@ -596,7 +596,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_packet_loss_rate_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_supp_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxSuppBwDl");
|
||||
|
||||
|
|
@ -605,7 +605,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_supp_bw_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_supp_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxSuppBwUl");
|
||||
|
||||
|
|
@ -614,7 +614,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_supp_bw_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *med_comp_n = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "medCompN");
|
||||
if (!med_comp_n) {
|
||||
|
|
@ -649,7 +649,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
localMapObject->string, OpenAPI_media_sub_component_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(med_sub_compsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *med_type = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "medType");
|
||||
|
||||
|
|
@ -660,7 +660,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
med_typeVariable = OpenAPI_media_type_FromString(med_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *min_des_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "minDesBwDl");
|
||||
|
||||
|
|
@ -669,7 +669,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [min_des_bw_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *min_des_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "minDesBwUl");
|
||||
|
||||
|
|
@ -678,7 +678,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [min_des_bw_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mir_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "mirBwDl");
|
||||
|
||||
|
|
@ -687,7 +687,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [mir_bw_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mir_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "mirBwUl");
|
||||
|
||||
|
|
@ -696,7 +696,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [mir_bw_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *preempt_cap = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "preemptCap");
|
||||
|
||||
|
|
@ -707,7 +707,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
preempt_capVariable = OpenAPI_preemption_capability_FromString(preempt_cap->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *preempt_vuln = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "preemptVuln");
|
||||
|
||||
|
|
@ -718,7 +718,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
preempt_vulnVariable = OpenAPI_preemption_vulnerability_FromString(preempt_vuln->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *prio_sharing_ind = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "prioSharingInd");
|
||||
|
||||
|
|
@ -729,7 +729,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
prio_sharing_indVariable = OpenAPI_priority_sharing_indicator_FromString(prio_sharing_ind->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "resPrio");
|
||||
|
||||
|
|
@ -740,7 +740,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
goto end;
|
||||
}
|
||||
res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rr_bw = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "rrBw");
|
||||
|
||||
|
|
@ -749,7 +749,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [rr_bw]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rs_bw = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "rsBw");
|
||||
|
||||
|
|
@ -758,7 +758,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [rs_bw]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sharing_key_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "sharingKeyDl");
|
||||
|
||||
|
|
@ -767,7 +767,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [sharing_key_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sharing_key_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "sharingKeyUl");
|
||||
|
||||
|
|
@ -776,28 +776,28 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co
|
|||
ogs_error("OpenAPI_media_component_parseFromJSON() failed [sharing_key_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tsn_qos = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tsnQos");
|
||||
|
||||
OpenAPI_tsn_qos_container_t *tsn_qos_local_nonprim = NULL;
|
||||
if (tsn_qos) {
|
||||
tsn_qos_local_nonprim = OpenAPI_tsn_qos_container_parseFromJSON(tsn_qos);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tscai_input_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tscaiInputDl");
|
||||
|
||||
OpenAPI_tscai_input_container_t *tscai_input_dl_local_nonprim = NULL;
|
||||
if (tscai_input_dl) {
|
||||
tscai_input_dl_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_dl);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tscai_input_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tscaiInputUl");
|
||||
|
||||
OpenAPI_tscai_input_container_t *tscai_input_ul_local_nonprim = NULL;
|
||||
if (tscai_input_ul) {
|
||||
tscai_input_ul_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_ul);
|
||||
}
|
||||
}
|
||||
|
||||
media_component_local_var = OpenAPI_media_component_create (
|
||||
af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue