Esempio n. 1
0
/********************************************************************
* FUNCTION mgr_hello_cleanup
*
* Cleanup the mgr_hello module.
* Unregister the top-level NETCONF <hello> element
*
*********************************************************************/
void 
    mgr_hello_cleanup (void)
{
    if (mgr_hello_init_done) {
        top_unregister_node(NC_MODULE, NCX_EL_HELLO);
        mgr_hello_init_done = FALSE;
    }

} /* mgr_hello_cleanup */
Esempio n. 2
0
/********************************************************************
* FUNCTION mgr_rpc_cleanup
*
* Cleanup the mgr_rpc module.
* call once to cleanup RPC mgr module
* Unregister the top-level NETCONF <rpc> element
*
*********************************************************************/
void 
    mgr_rpc_cleanup (void)
{
    if (mgr_rpc_init_done) {
        top_unregister_node(NC_MODULE, NCX_EL_RPC_REPLY);
        mgr_rpc_init_done = FALSE;
    }

} /* mgr_rpc_cleanup */
Esempio n. 3
0
/********************************************************************
* FUNCTION mgr_not_cleanup
*
* Cleanup the mgr_not module.
* call once to cleanup module
* Unregister the top-level NETCONF <rpc> element
*
*********************************************************************/
void 
    mgr_not_cleanup (void)
{
    if (mgr_not_init_done) {
        top_unregister_node(NCN_MODULE, NCX_EL_NOTIFICATION);
        notification_obj = NULL;
        callbackfn = NULL;
        mgr_not_init_done = FALSE;
    }

} /* mgr_not_cleanup */