yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
YANG Bit Statement (ncx_bit_t)

YANG bit statement handling. More...

Collaboration diagram for YANG Bit Statement (ncx_bit_t):

Functions

void ncx_init_bit (ncx_bit_t *bit)
 Init the memory of a ncx_bit_t. More...
 
void ncx_clean_bit (ncx_bit_t *bit)
 Scrub the memory of a ncx_bit_t but do not delete it. More...
 
int32 ncx_compare_bits (const ncx_bit_t *bitone, const ncx_bit_t *bittwo)
 Compare 2 bit values by their schema order position. More...
 

Detailed Description

YANG bit statement handling.

The ncx_list_t is also used to handle NCX_BT_BITS data type.

Function Documentation

◆ ncx_clean_bit()

void ncx_clean_bit ( ncx_bit_t bit)

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

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

◆ ncx_compare_bits()

int32 ncx_compare_bits ( const ncx_bit_t bitone,
const ncx_bit_t bittwo 
)

Compare 2 bit values by their schema order position.

Parameters
bitonefirst ncx_bit_t check
bittwosecond ncx_bit_t check
Returns
bit compare status
      -1 if bitone is < bittwo
       0 if bitone == bittwo
       1 if bitone is > bittwo
Here is the caller graph for this function:

◆ ncx_init_bit()

void ncx_init_bit ( ncx_bit_t bit)

Init the memory of a ncx_bit_t.

Parameters
bitncx_bit_t struct to init