Internal Heap Checking.
More...
Internal Heap Checking.
The C define HEAP_CHECKING must be enabled for this code to be present in the server image.
◆ support_save_cbfn_t
Support Save Callback Function Used to add info to the support-save report.
- Parameters
-
scb | session for output |
mhdr | XML message header to use |
parent_nsid | namespace ID for parent object |
subtree_name | name being called for (allows callback reuse) |
indent | indent increment (-1 for no increment) |
startindent | current indent amount to use |
- Returns
- status
◆ heapcheck_init()
void heapcheck_init |
( |
void |
| ) |
|
Initialize heap checking module.
◆ heapcheck_release_held_free()
void heapcheck_release_held_free |
( |
boolean |
hold | ) |
|
Internal release held free Do not use.
- Parameters
-
hold | Hold flag for internal use |
◆ heapcheck_report()
void heapcheck_report |
( |
boolean |
use_logger, |
|
|
log_debug_t |
level, |
|
|
const char * |
label |
|
) |
| |
Generate a heap check report.
- Parameters
-
use_logger | TRUE to use log output |
level | debug level needed to generate report |
label | string to print before report |
◆ heapcheck_set_hold_free()
void heapcheck_set_hold_free |
( |
boolean |
hold | ) |
|
Internal function do not use.
- Parameters
-
◆ support_save_cleanup()
void support_save_cleanup |
( |
void |
| ) |
|
Cleanup the support_save module.
◆ support_save_get_object()
Get the support-save-data object template.
- Returns
- pointer to object or NULL if not available
◆ support_save_init()
Load the yumaworks-support-save module.
- Returns
- status
◆ support_save_init2()
Load the yumaworks-support-save module (phase 2)
- Returns
- status
◆ support_save_is_active()
boolean support_save_is_active |
( |
void |
| ) |
|
Check if a support-save is in progress.
- Returns
- TRUE if active; FALSE if not
◆ support_save_register_cbfn()
Register a support-save callback function.
This function is responsible for generating an XML subtree by using xml_wr functions for the provided session
- Parameters
-
subtree_name | name of the YANG object that will be added |
subtree_cbfn | callback function pointer |
- Returns
- status
◆ support_save_write()
Write the support save information to the specified session Use the registered callbacks in the order they are registered.
- Parameters
-
scb | session to use |
mhdr | message header to use |
indent | indent increment amount |
startindent | start message indent amount |
- Returns
- status