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

Go to the source code of this file.


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

Function Documentation

int netconf_rpc_dispatch ( clicon_handle  h,
cxobj *  xn,
cxobj **  xret 

The central netconf rpc dispatcher. Look at first tag and dispach to sub-functions. Call plugin handler if tag not found. If not handled by any handler, return error.

[in]hclicon handle
[in]xnSub-tree (under xorig) at <rpc>...</rpc> level.
[out]xretReturn XML, error or OK