yumapro
24.10-1
YumaPro SDK
|
The modules loaded into a YANG library are represented by queues. More...
Functions | |
void | ncx_set_cur_modQ (dlq_hdr_t *que) |
Set the current module Q to an alternate (for yangdiff) More... | |
void | ncx_reset_modQ (void) |
Set the current module Q to the original ncx_modQ. | |
void | ncx_set_session_modQ (dlq_hdr_t *que) |
Get the session module Q. More... | |
dlq_hdr_t * | ncx_get_session_modQ (void) |
Get the current session modQ. More... | |
void | ncx_clear_session_modQ (void) |
Clear the current session modQ. More... | |
void | ncx_set_temp_modQ (dlq_hdr_t *modQ) |
Set the temp_modQ for yangcli session-specific module list. More... | |
dlq_hdr_t * | ncx_get_temp_modQ (void) |
Get the temp_modQ for yangcli session-specific module list. More... | |
void | ncx_clear_temp_modQ (void) |
Clear the temp_modQ for yangcli session-specific module list. More... | |
The modules loaded into a YANG library are represented by queues.
These queues are OK for a single server instance. They will not work later for virtual server instances.
void ncx_clear_session_modQ | ( | void | ) |
Clear the current session modQ.
!!! THIS HACK IS NEEDED BECAUSE val.c !!! USES ncx_find_module sometimes, and !!! yangcli sessions are not loaded into the !!! main database of modules. !!! THIS DOES NOT WORK FOR MULTIPLE CONCURRENT PROCESSES
Clear the current session module Q
void ncx_clear_temp_modQ | ( | void | ) |
Clear the temp_modQ for yangcli session-specific module list.
dlq_hdr_t * ncx_get_session_modQ | ( | void | ) |
Get the current session modQ.
dlq_hdr_t * ncx_get_temp_modQ | ( | void | ) |
Get the temp_modQ for yangcli session-specific module list.
void ncx_set_cur_modQ | ( | dlq_hdr_t * | que | ) |
Set the current module Q to an alternate (for yangdiff)
This will be used for module searches usually in ncx_modQ
que | Q of ncx_module_t to use |
void ncx_set_session_modQ | ( | dlq_hdr_t * | que | ) |
Get the session module Q.
!!! THIS HACK IS NEEDED BECAUSE val.c !!! USES ncx_find_module sometimes, and !!! yangcli sessions are not loaded into the !!! main database of modules. !!! THIS DOES NOT WORK FOR MULTIPLE CONCURRENT PROCESSES
Set the current session module Q to an alternate (for yangdiff) This will be used for module searches usually in ncx_modQ
que | Q of ncx_module_t to use |
void ncx_set_temp_modQ | ( | dlq_hdr_t * | modQ | ) |
Set the temp_modQ for yangcli session-specific module list.
modQ | new Q pointer to use |