libnetconf2  3.6.1
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 
17 #ifndef NC_NETCONF_H_
18 #define NC_NETCONF_H_
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
30 #define NC_NS_BASE "urn:ietf:params:xml:ns:netconf:base:1.0"
31 
32 #define NC_NS_NOTIF "urn:ietf:params:xml:ns:netconf:notification:1.0"
33 
35 #define NC_PORT_SSH 830
36 
37 #define NC_PORT_CH_SSH 4334
38 
40 #define NC_PORT_TLS 6513
41 
42 #define NC_PORT_CH_TLS 4335
43 
50 #define nc_set_rpc_callback(node, cb) (node->priv = cb)
51 
55 typedef enum {
65 
69 typedef enum {
79 } NC_MSG_TYPE;
80 
84 extern const char *nc_msgtype2str[];
85 
89 typedef enum {
96 } NC_DATASTORE;
97 
101 typedef enum {
107 } NC_WD_MODE;
108 
112 typedef enum {
117 } NC_RPL;
118 
122 typedef enum {
126 } NC_PARAMTYPE;
127 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* NC_NETCONF_H_ */
NC_MSG_TYPE
Enumeration of NETCONF message types.
Definition: netconf.h:69
NC_RPL
Enumeration of NETCONF (both server and client) rpc-reply types.
Definition: netconf.h:112
NC_WD_MODE
Enumeration of NETCONF with-defaults capability modes.
Definition: netconf.h:101
NC_PARAMTYPE
Enumeration of function parameter treatments.
Definition: netconf.h:122
NC_SESSION_TERM_REASON
Enumeration of reasons of the NETCONF session termination as defined in RFC 6470. ...
Definition: netconf.h:55
NC_DATASTORE
Enumeration of the supported types of datastores defined by NETCONF.
Definition: netconf.h:89
const char * nc_msgtype2str[]
Messages of NETCONF message type enum.