comply with coding standard

This commit is contained in:
Sukchan Lee 2021-07-08 15:00:59 +09:00
parent f278d58a69
commit 2471b1b53d
562 changed files with 3332 additions and 3332 deletions

View file

@ -228,7 +228,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [implicit_unsubscribe]");
goto end;
}
}
}
cJSON *expires = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "expires");
@ -237,7 +237,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [expires]");
goto end;
}
}
}
cJSON *callback_reference = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "callbackReference");
if (!callback_reference) {
@ -258,7 +258,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [amf_service_name]");
goto end;
}
}
}
cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "monitoredResourceUris");
if (!monitored_resource_uris) {
@ -288,7 +288,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
OpenAPI_snssai_t *single_nssai_local_nonprim = NULL;
if (single_nssai) {
single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai);
}
}
cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "dnn");
@ -297,7 +297,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [dnn]");
goto end;
}
}
}
cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "subscriptionId");
@ -306,14 +306,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [subscription_id]");
goto end;
}
}
}
cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "plmnId");
OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL;
if (plmn_id) {
plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id);
}
}
cJSON *immediate_report = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "immediateReport");
@ -322,14 +322,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [immediate_report]");
goto end;
}
}
}
cJSON *report = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "report");
OpenAPI_subscription_data_sets_t *report_local_nonprim = NULL;
if (report) {
report_local_nonprim = OpenAPI_subscription_data_sets_parseFromJSON(report);
}
}
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "supportedFeatures");
@ -338,14 +338,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su
ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [supported_features]");
goto end;
}
}
}
cJSON *context_info = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "contextInfo");
OpenAPI_context_info_t *context_info_local_nonprim = NULL;
if (context_info) {
context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info);
}
}
sdm_subscription_local_var = OpenAPI_sdm_subscription_create (
ogs_strdup_or_assert(nf_instance_id->valuestring),