yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
YANG Binary Data (ncx_binary_t)

Binary data handling functions. More...

Collaboration diagram for YANG Binary Data (ncx_binary_t):

Functions

ncx_binary_tncx_new_binary (void)
 Malloc and fill in a new ncx_binary_t struct. More...
 
void ncx_init_binary (ncx_binary_t *binary)
 Init the memory of a ncx_binary_t struct. More...
 
void ncx_clean_binary (ncx_binary_t *binary)
 Scrub the memory of a ncx_binary_t but do not delete it. More...
 
void ncx_free_binary (ncx_binary_t *binary)
 Free all the memory in a ncx_binary_t struct. More...
 

Detailed Description

Binary data handling functions.

Review FAQs for binary handling.

Remember that binary strings can contain zeros! They are NOT zero-terminated C strings.

The base64 encoding and internal binary string encoding are accessed through APIs in this group.

Function Documentation

◆ ncx_clean_binary()

void ncx_clean_binary ( ncx_binary_t binary)

Scrub the memory of a ncx_binary_t but do not delete it.

Parameters
binaryncx_binary_t struct to clean
Here is the caller graph for this function:

◆ ncx_free_binary()

void ncx_free_binary ( ncx_binary_t binary)

Free all the memory in a ncx_binary_t struct.

Parameters
binarystruct to clean and free
Here is the call graph for this function:

◆ ncx_init_binary()

void ncx_init_binary ( ncx_binary_t binary)

Init the memory of a ncx_binary_t struct.

Parameters
binaryncx_binary_t struct to init
Here is the caller graph for this function:

◆ ncx_new_binary()

ncx_binary_t * ncx_new_binary ( void  )

Malloc and fill in a new ncx_binary_t struct.

Returns
pointer to malloced and initialized ncx_binary_t struct NULL if malloc error
Here is the call graph for this function: