mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
[Release-17] Upgrade SBI to v17.x.0
This commit is contained in:
parent
969c116e77
commit
4d44b1843e
1687 changed files with 121604 additions and 9310 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
char* OpenAPI_psa_indication_ToString(OpenAPI_psa_indication_e psa_indication)
|
||||
{
|
||||
const char *psa_indicationArray[] = { "NULL", "PSA_INSERTED", "PSA_REMOVED" };
|
||||
const char *psa_indicationArray[] = { "NULL", "PSA_INSERTED", "PSA_REMOVED", "PSA_INSERTED_ONLY", "PSA_REMOVED_ONLY" };
|
||||
size_t sizeofArray = sizeof(psa_indicationArray) / sizeof(psa_indicationArray[0]);
|
||||
if (psa_indication < sizeofArray)
|
||||
return (char *)psa_indicationArray[psa_indication];
|
||||
|
|
@ -17,7 +17,7 @@ char* OpenAPI_psa_indication_ToString(OpenAPI_psa_indication_e psa_indication)
|
|||
OpenAPI_psa_indication_e OpenAPI_psa_indication_FromString(char* psa_indication)
|
||||
{
|
||||
int stringToReturn = 0;
|
||||
const char *psa_indicationArray[] = { "NULL", "PSA_INSERTED", "PSA_REMOVED" };
|
||||
const char *psa_indicationArray[] = { "NULL", "PSA_INSERTED", "PSA_REMOVED", "PSA_INSERTED_ONLY", "PSA_REMOVED_ONLY" };
|
||||
size_t sizeofArray = sizeof(psa_indicationArray) / sizeof(psa_indicationArray[0]);
|
||||
while (stringToReturn < sizeofArray) {
|
||||
if (strcmp(psa_indication, psa_indicationArray[stringToReturn]) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue