CliXoN
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
netconf_plugin.h File Reference

Go to the source code of this file.

Functions

int netconf_plugin_load (clicon_handle h)
 
int netconf_plugin_start (clicon_handle h, int argc, char **argv)
 
int netconf_plugin_unload (clicon_handle h)
 
int netconf_plugin_callbacks (clicon_handle h, cxobj *xn, cxobj **xret)
 

Function Documentation

int netconf_plugin_callbacks ( clicon_handle  h,
cxobj *  xn,
cxobj **  xret 
)

See if there is any callback registered for this tag

Parameters
[in]hclicon handle
[in]xnSub-tree (under xorig) at child of rpc: <rpc><xn></rpc>.
[out]xretReturn XML, error or OK
Return values
-1Error
0OK, not found handler.
1OK, handler called
int netconf_plugin_load ( clicon_handle  h)

Load all plugins you can find in CLICON_NETCONF_DIR

int netconf_plugin_start ( clicon_handle  h,
int  argc,
char **  argv 
)

Call plugin_start in all plugins

int netconf_plugin_unload ( clicon_handle  h)

Unload all netconf plugins