Add only one 5GC scenario (call-flow)

This commit is contained in:
Sukchan Lee 2020-06-17 01:22:28 -04:00
parent 20008b6a13
commit dbee687a75
1415 changed files with 86635 additions and 5877 deletions

View file

@ -7,7 +7,7 @@
OpenAPI_binary_t *OpenAPI_instantiate_binary_t(char *data, int len)
{
binary_t* ret = malloc(sizeof(struct binary_t));
OpenAPI_binary_t* ret = malloc(sizeof(OpenAPI_binary_t));
ret->len=len;
ret->data = malloc(len);
@ -35,7 +35,7 @@ char *OpenAPI_base64encode(const void *b64_encode_this,
(*mem_bio_mem_ptr).data[(*mem_bio_mem_ptr).length] = '\0'; //Adds null-terminator to tail.
return (*mem_bio_mem_ptr).data; //Returns base-64 encoded data. (See: "buf_mem_st" struct).
#else // OPENSSL
#warning Data will not be encoded. If you want to use function "base64encode", please define "-DOPENSSL" when building the library.
//#warning Data will not be encoded. If you want to use function "base64encode", please define "-DOPENSSL" when building the library.
return NULL;
#endif // OPENSSL
}
@ -59,7 +59,7 @@ char *OpenAPI_base64decode(const void *b64_decode_this,
*decoded_bytes = decoded_byte_index;
return base64_decoded; //Returns base-64 decoded data with trailing null terminator.
#else // OPENSSL
#warning Data will not be decoded. If you want to use function "base64decode", please define "-DOPENSSL" when building the library.
//#warning Data will not be decoded. If you want to use function "base64decode", please define "-DOPENSSL" when building the library.
return NULL;
#endif // OPENSSL
}