libnetconf2  3.0.17
NETCONF server and client library in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
netconf.h
Go to the documentation of this file.
1 
16 #ifndef NC_NETCONF_H_
17 #define NC_NETCONF_H_
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
29 #define NC_NS_BASE "urn:ietf:params:xml:ns:netconf:base:1.0"
30 
31 #define NC_NS_NOTIF "urn:ietf:params:xml:ns:netconf:notification:1.0"
32 
34 #define NC_PORT_SSH 830
35 
36 #define NC_PORT_CH_SSH 4334
37 
39 #define NC_PORT_TLS 6513
40 
41 #define NC_PORT_CH_TLS 4335
42 
49 #define nc_set_rpc_callback(node, cb) (node->priv = cb)
50 
54 typedef enum NC_SESSION_TERM_REASON {
64 
68 typedef enum NC_MSG_TYPE {
78 } NC_MSG_TYPE;
79 
83 extern const char *nc_msgtype2str[];
84 
88 typedef enum NC_DATASTORE_TYPE {
95 } NC_DATASTORE;
96 
100 typedef enum NC_WITHDEFAULTS_MODE {
106 } NC_WD_MODE;
107 
111 typedef enum NC_REPLY {
116 } NC_RPL;
117 
121 typedef enum NC_PARAMTYPE {
125 } NC_PARAMTYPE;
126 
129 #ifdef __cplusplus
130 }
131 #endif
132 
133 #endif /* NC_NETCONF_H_ */
enum NC_REPLY NC_RPL
Enumeration of NETCONF (both server and client) rpc-reply types.
NC_MSG_TYPE
Enumeration of NETCONF message types.
Definition: netconf.h:68
NC_DATASTORE_TYPE
Enumeration of the supported types of datastores defined by NETCONF.
Definition: netconf.h:88
enum NC_DATASTORE_TYPE NC_DATASTORE
Enumeration of the supported types of datastores defined by NETCONF.
NC_PARAMTYPE
Enumeration of function parameter treatments.
Definition: netconf.h:121
NC_WITHDEFAULTS_MODE
Enumeration of NETCONF with-defaults capability modes.
Definition: netconf.h:100
NC_SESSION_TERM_REASON
Enumeration of reasons of the NETCONF session termination as defined in RFC 6470. ...
Definition: netconf.h:54
enum NC_WITHDEFAULTS_MODE NC_WD_MODE
Enumeration of NETCONF with-defaults capability modes.
const char * nc_msgtype2str[]
Messages of NETCONF message type enum.
NC_REPLY
Enumeration of NETCONF (both server and client) rpc-reply types.
Definition: netconf.h:111