libnetconf  0.10.0-0.10.0
NETCONF Library
transapi Struct Reference

Structure to describe transAPI module and connect it statically with libnetconf using ncds_new_transapi_static(). More...

#include <transapi.h>

Data Fields

TRANSAPI_CLBCKS_ORDER_TYPE clbks_order
 Callbacks order settings. More...
 
void(* close )(void)
 Free module resources and prepare for closing. More...
 
int * config_modified
 Flag if configuration data passed to callbacks were modified. More...
 
struct transapi_data_callbacksdata_clbks
 Transapi callback mapping structure. More...
 
NC_EDIT_ERROPT_TYPEerropt
 edit-config's error-option for the current transaction More...
 
struct transapi_file_callbacksfile_clbks
 Transapi file monitoring structure. More...
 
xmlDocPtr(* get_state )(const xmlDocPtr, const xmlDocPtr, struct nc_err **)
 Function returning status information. More...
 
int(* init )(xmlDocPtr *)
 Module initialization. More...
 
struct ns_pairns_mapping
 Mapping prefixes with URIs. More...
 
struct transapi_rpc_callbacksrpc_clbks
 Transapi rpc callbacks mapping structure. More...
 
int version
 transapi version of the module More...
 

Detailed Description

Structure to describe transAPI module and connect it statically with libnetconf using ncds_new_transapi_static().

Field Documentation

◆ clbks_order

Callbacks order settings.

◆ close

void(* close) (void)

Free module resources and prepare for closing.

◆ config_modified

int* config_modified

Flag if configuration data passed to callbacks were modified.

◆ data_clbks

struct transapi_data_callbacks* data_clbks

Transapi callback mapping structure.

◆ erropt

edit-config's error-option for the current transaction

◆ file_clbks

struct transapi_file_callbacks* file_clbks

Transapi file monitoring structure.

◆ get_state

xmlDocPtr(* get_state) (const xmlDocPtr, const xmlDocPtr, struct nc_err **)

Function returning status information.

◆ init

int(* init) (xmlDocPtr *)

Module initialization.

◆ ns_mapping

struct ns_pair* ns_mapping

Mapping prefixes with URIs.

◆ rpc_clbks

struct transapi_rpc_callbacks* rpc_clbks

Transapi rpc callbacks mapping structure.

◆ version

int version

transapi version of the module


The documentation for this struct was generated from the following file: