xmlNodePtr ncxml_rpc_get_config(const nc_rpc *rpc)
Get element from the RPC operation including its content. This function is valid only for
xmlNodePtr ncxml_reply_get_data(const nc_reply *reply)
Get element in including its content.
NC_DATASTORE
Enumeration of the supported types of datastores defined by NETCONF.
Definition: netconf.h:260
nc_rpc * ncxml_rpc_editconfig(NC_DATASTORE target, NC_DATASTORE source, NC_EDIT_DEFOP_TYPE default_operation, NC_EDIT_ERROPT_TYPE error_option, NC_EDIT_TESTOPT_TYPE test_option,...)
Create NETCONF rpc message.
struct nc_msg nc_reply
reply message.
Definition: netconf.h:62
nc_reply * ncxml_reply_data(const xmlNodePtr data)
Create rpc-reply response with content.
nc_rpc * ncxml_rpc_generic(const xmlNodePtr data)
Create a generic NETCONF rpc message with the specified content.
NETCONF error handling functions.
struct nc_msg nc_rpc
rpc message.
Definition: netconf.h:56
nc_rpc * ncxml_rpc_build(xmlDocPtr rpc_dump, const struct nc_session *session)
Build message from the libxml2 document structure. This is the reverse function of the ncxml_rp...
NC_EDIT_TESTOPT_TYPE
Enumeration of edit-config's element values.
Definition: netconf.h:322
nc_reply * ncxml_reply_data_ns(const xmlNodePtr data, const char *ns)
Create rpc-reply response with content in the specified namespace.
nc_rpc * ncxml_rpc_copyconfig(NC_DATASTORE source, NC_DATASTORE target,...)
Create NETCONF rpc message.
nc_reply * ncxml_reply_build(xmlDocPtr reply_dump)
Build message from the libxml2 document structure. This is the reverse function of the nc...
NC_FILTER_TYPE
Enumeration of supported NETCONF filter types.
Definition: netconf.h:273
libnetconf's general public functions and structures definitions.
xmlDocPtr ncxml_reply_dump(const nc_reply *reply)
Dump the rpc-reply message into a libxml2 document structure.
xmlDocPtr ncxml_rpc_dump(const nc_rpc *rpc)
Dump the rpc message into a libxml2 document structure.