yumapro  20.10-12
YumaPro SDK
rpc.h File Reference

NETCONF protocol remote procedure call common definitions. More...

#include <time.h>
#include <xmlstring.h>
#include "dlq.h"
#include "ncxtypes.h"
#include "op.h"
#include "status.h"
#include "val.h"
#include "xmlns.h"
#include "xml_msg.h"
#include "xml_util.h"
Include dependency graph for rpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rpc_msg_t_
 NETCONF Server and Client RPC Request/Reply Message Header. More...
 

Enumerations

enum  rpc_data_t_ {
  RPC_DATA_NONE,
  RPC_DATA_STD,
  RPC_DATA_YANG
}
 Type of the <rpc-reply> data source. More...
 
enum  rpc_rpytyp_t_ {
  RPC_RPYTYP_NONE,
  RPC_RPYTYP_OK,
  RPC_RPYTYP_ERROR,
  RPC_RPYTYP_DATA
}
 Type of the <rpc-reply> sent to client. More...
 

Functions

rpc_msg_t * rpc_new_msg (void)
 Malloc and initialize a new rpc_msg_t struct. More...
 
rpc_msg_t * rpc_new_out_msg (void)
 Malloc and initialize a new rpc_msg_t struct for output or for dummy use. More...
 
void rpc_free_msg (rpc_msg_t *msg)
 Free all the memory used by the specified rpc_msg_t. More...
 
void rpc_msg_add_error_data (rpc_msg_t *msg, val_value_t *val)
 Add error data to the response message. More...
 
const xmlChar * rpc_msg_get_reply_type (rpc_rpytyp_t rpytyp)
 Get the reply type string from the message type. More...
 

Detailed Description

NETCONF protocol remote procedure call common definitions.