30 #define NC_NS_BASE "urn:ietf:params:xml:ns:netconf:base:1.0"
32 #define NC_NS_NOTIF "urn:ietf:params:xml:ns:netconf:notification:1.0"
35 #define NC_PORT_SSH 830
37 #define NC_PORT_CH_SSH 4334
40 #define NC_PORT_TLS 6513
42 #define NC_PORT_CH_TLS 4335
50 #define nc_set_rpc_callback(node, cb) lys_set_private(node, cb)
enum NC_REPLY NC_RPL
Enumeration of NETCONF (both server and client) rpc-reply types.
NC_MSG_TYPE
Enumeration of NETCONF message types.
char * nc_time2datetime(time_t time, const char *tz, char *buf)
Transform given time_t (seconds since the epoch) into the RFC 3339 format accepted by NETCONF functio...
NC_DATASTORE_TYPE
Enumeration of the supported types of datastores defined by NETCONF.
time_t nc_datetime2time(const char *datetime)
Transform given string in RFC 3339 compliant format to the time_t (seconds since the epoch) accepted ...
enum NC_DATASTORE_TYPE NC_DATASTORE
Enumeration of the supported types of datastores defined by NETCONF.
NC_PARAMTYPE
Enumeration of function parameter treatments.
NC_WITHDEFAULTS_MODE
Enumeration of NETCONF with-defaults capability modes.
NC_SESSION_TERM_REASON
Enumeration of reasons of the NETCONF session termination as defined in RFC 6470. ...
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.