libnetconf  0.10.0-146_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
messages_xml.h File Reference
#include <time.h>
#include <libxml/tree.h>
#include "netconf.h"
#include "error.h"
Include dependency graph for messages_xml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct nc_filter * ncxml_filter_new (NC_FILTER_TYPE type,...)
 Create a new NETCONF filter of the specified type. More...
 
nc_replyncxml_reply_build (xmlDocPtr reply_dump)
 Build <rpc-reply> message from the libxml2 document structure. This is the reverse function of the ncxml_reply_dump(). More...
 
nc_replyncxml_reply_data (const xmlNodePtr data)
 Create rpc-reply response with <data> content. More...
 
nc_replyncxml_reply_data_ns (const xmlNodePtr data, const char *ns)
 Create rpc-reply response with <data> content in the specified namespace. More...
 
xmlDocPtr ncxml_reply_dump (const nc_reply *reply)
 Dump the rpc-reply message into a libxml2 document structure. More...
 
xmlNodePtr ncxml_reply_get_data (const nc_reply *reply)
 Get <data> element in <rpc-reply> including its content. More...
 
nc_rpcncxml_rpc_build (xmlDocPtr rpc_dump, const struct nc_session *session)
 Build <rpc> message from the libxml2 document structure. This is the reverse function of the ncxml_rpc_dump(). More...
 
nc_rpcncxml_rpc_copyconfig (NC_DATASTORE source, NC_DATASTORE target,...)
 Create <copy-config> NETCONF rpc message. More...
 
xmlDocPtr ncxml_rpc_dump (const nc_rpc *rpc)
 Dump the rpc message into a libxml2 document structure. More...
 
nc_rpcncxml_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 <edit-config> NETCONF rpc message. More...
 
nc_rpcncxml_rpc_generic (const xmlNodePtr data)
 Create a generic NETCONF rpc message with the specified content. More...
 
xmlNodePtr ncxml_rpc_get_config (const nc_rpc *rpc)
 Get <config> element from the RPC operation including its content. This function is valid only for <copy-config> and <edit-config> RPCs. More...
 
xmlNodePtr ncxml_rpc_get_op_content (const nc_rpc *rpc)
 Get the content of the operation specification from the given rpc. More...