yumapro  23.10T-12
YumaPro SDK
Loading...
Searching...
No Matches
Global Callbacks

Initialize and cleanup the Global Callbacks. More...

Collaboration diagram for Global Callbacks:

Functions

void glob_init (void)
 Init the global callback handler. More...
 
void glob_cleanup (void)
 Cleanup the global callback handler. More...
 
void glob_set_edit_enabled (boolean val)
 Set the Global EDIT callbacks enabled flag. More...
 
boolean glob_get_edit_enabled (void)
 Get the Global EDIT callbacks enabled flag. More...
 
void glob_set_get2cb (getcb_fn2_t get2_cbfn)
 Set the current Global GET2 callback function. More...
 
getcb_fn2_t glob_get_get2cb (void)
 Get the current Global GET2 callback function. More...
 
void glob_set_get_enabled (boolean val)
 Set the Global EDIT callbacks enabled flag. More...
 
boolean glob_get_get2_enabled (void)
 Get the Global EDIT callbacks enabled flag. More...
 
void glob_set_rpc_enabled (boolean val)
 Set the Global RPC callbacks enabled flag. More...
 
boolean glob_get_rpc_enabled (void)
 Get the Global RPC callbacks enabled flag. More...
 
void glob_set_action_enabled (boolean val)
 Set the Global Action callbacks enabled flag. More...
 
boolean glob_get_action_enabled (void)
 Get the Global Action callbacks enabled flag. More...
 
void glob_set_remote_get_enabled (boolean val)
 Set the Global SIL-SA GET2 callbacks enabled flag. More...
 
boolean glob_get_remote_get2_enabled (void)
 Get the Global SIL-SA GET2 callbacks enabled flag. More...
 
void glob_set_remote_get2cb (getcb_fn2_t get2_cbfn)
 Set remote GET2 wrapper handler. More...
 
getcb_fn2_t glob_get_remote_get2cb (void)
 Get the remote Global GET2 callback handler. More...
 
void glob_set_remote_edit_enabled (boolean val)
 Set the Remote Global EDIT callbacks enabled flag. More...
 
boolean glob_get_remote_edit_enabled (void)
 Get the Remote Global EDIT callbacks enabled flag. More...
 
status_t ncx_init (boolean netconfd, boolean savestr, log_debug_t dlevel, boolean logtstamps, boolean collapse_submods, boolean xpath_backptrs, const char *startmsg, int argc, char *argv[])
 Initialize the NCX library. More...
 
void ncx_cleanup (void)
 Cleanup the NCX library. More...
 

Detailed Description

Initialize and cleanup the Global Callbacks.

Initialize and cleanup the NCX Library.

Mandatory to use.

Function Documentation

◆ glob_cleanup()

void glob_cleanup ( void  )

Cleanup the global callback handler.

INTERNAL API

Here is the caller graph for this function:

◆ glob_get_action_enabled()

boolean glob_get_action_enabled ( void  )

Get the Global Action callbacks enabled flag.

INTERNAL API

Returns
TRUE if Global Action callbacks enabled
Here is the caller graph for this function:

◆ glob_get_edit_enabled()

boolean glob_get_edit_enabled ( void  )

Get the Global EDIT callbacks enabled flag.

INTERNAL API

Returns
TRUE if Global EDIT callbacks enabled
Here is the caller graph for this function:

◆ glob_get_get2_enabled()

boolean glob_get_get2_enabled ( void  )

Get the Global EDIT callbacks enabled flag.

INTERNAL API

Returns
TRUE if Global EDIT callbacks enabled
Here is the caller graph for this function:

◆ glob_get_get2cb()

getcb_fn2_t glob_get_get2cb ( void  )

Get the current Global GET2 callback function.

INTERNAL API

Get the current Global GET2 callback function value

Returns
GET2 callback function if any

◆ glob_get_remote_edit_enabled()

boolean glob_get_remote_edit_enabled ( void  )

Get the Remote Global EDIT callbacks enabled flag.

INTERNAL API

Returns
TRUE if Remote Global EDIT callbacks enabled
Here is the caller graph for this function:

◆ glob_get_remote_get2_enabled()

boolean glob_get_remote_get2_enabled ( void  )

Get the Global SIL-SA GET2 callbacks enabled flag.

INTERNAL API: Needed to setup remote GET2 Global callbacks

Returns
TRUE if Global SIL-SA GET2 callbacks enabled

◆ glob_get_remote_get2cb()

getcb_fn2_t glob_get_remote_get2cb ( void  )

Get the remote Global GET2 callback handler.

INTERNAL API: Needed to setup remote GET2 Global callbacks Used by getcb to get the getcb_fn2_t function

Returns
remote Global GET2 callback handler function if any

◆ glob_get_rpc_enabled()

boolean glob_get_rpc_enabled ( void  )

Get the Global RPC callbacks enabled flag.

INTERNAL API

Returns
TRUE if Global RPC callbacks enabled
Here is the caller graph for this function:

◆ glob_init()

void glob_init ( void  )

Init the global callback handler.

INTERNAL API

Here is the caller graph for this function:

◆ glob_set_action_enabled()

void glob_set_action_enabled ( boolean  val)

Set the Global Action callbacks enabled flag.

INTERNAL API

Parameters
valTRUE if Global Action callbacks is enabled
Here is the caller graph for this function:

◆ glob_set_edit_enabled()

void glob_set_edit_enabled ( boolean  val)

Set the Global EDIT callbacks enabled flag.

INTERNAL API

Parameters
valTRUE if Global EDIT callbacks is enabled
Here is the caller graph for this function:

◆ glob_set_get2cb()

void glob_set_get2cb ( getcb_fn2_t  get2_cbfn)

Set the current Global GET2 callback function.

INTERNAL API

Set the current Global GET2 callback function value

Parameters
get2_cbfnGlobal GET callbacks function
Here is the caller graph for this function:

◆ glob_set_get_enabled()

void glob_set_get_enabled ( boolean  val)

Set the Global EDIT callbacks enabled flag.

INTERNAL API

Parameters
valTRUE if Global EDIT callbacks is enabled
Here is the caller graph for this function:

◆ glob_set_remote_edit_enabled()

void glob_set_remote_edit_enabled ( boolean  val)

Set the Remote Global EDIT callbacks enabled flag.

INTERNAL API

Parameters
valTRUE if Remote Global EDIT callbacks is enabled

◆ glob_set_remote_get2cb()

void glob_set_remote_get2cb ( getcb_fn2_t  get2_cbfn)

Set remote GET2 wrapper handler.

INTERNAL API: Needed to setup remote GET2 Global callbacks Used by agt_sil to setup Remote GET2 wrapper

Parameters
get2_cbfnremote wrapper for GET2 callbacks function

◆ glob_set_remote_get_enabled()

void glob_set_remote_get_enabled ( boolean  val)

Set the Global SIL-SA GET2 callbacks enabled flag.

INTERNAL API: Needed to setup remote GET2 Global callbacks

Parameters
valTRUE if Global SIL-SA GET2 callbacks is enabled
Returns
none

◆ glob_set_rpc_enabled()

void glob_set_rpc_enabled ( boolean  val)

Set the Global RPC callbacks enabled flag.

INTERNAL API

Parameters
valTRUE if Global RPC callbacks is enabled
Here is the caller graph for this function:

◆ ncx_cleanup()

void ncx_cleanup ( void  )

Cleanup the NCX library.

Must be called once after ncx_init has been called

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ncx_init()

status_t ncx_init ( boolean  netconfd,
boolean  savestr,
log_debug_t  dlevel,
boolean  logtstamps,
boolean  collapse_submods,
boolean  xpath_backptrs,
const char *  startmsg,
int  argc,
char *  argv[] 
)

Initialize the NCX library.

Must be called once before any other NCX library functions are used

Parameters
netconfdTRUE if this is netconfd-pro process calling FALSE if some other process
savestrTRUE if parsed description strings that are not needed by the agent at runtime should be saved anyway. Converters should use this value. FALSE if uneeded strings should not be saved. Embedded agents should use this value
dleveldesired debug output level
logtstampsTRUE if log should use timestamps FALSE if not; not used unless 'log' is present
collapse_submodsTRUE if OK to move submod defs to main mod FALSE if not
xpath_backptrsTRUE if XPath backptr caching needed; FALSE if not; used only by the server
startmsglog_debug2 message to print before starting; NULL if not used;
argcCLI argument count for bootstrap CLI
argvarray of CLI parms for bootstrap CLI
Returns
status of the initialization procedure
Here is the call graph for this function:
Here is the caller graph for this function: