41#ifndef NC_WITH_DEFAULTS_H_
42#define NC_WITH_DEFAULTS_H_
77#define NCDFLT_DISABLE ncdflt_set_basic_mode(NCWD_MODE_DISABLED)
struct nc_msg nc_rpc
rpc message.
Definition netconf.h:56
NCWD_MODE
Enumeration of <with-defaults> element values.
Definition netconf.h:337
NCWD_MODE ncdflt_get_supported(void)
Get ORed value containing the currently supported with-defaults modes.
void ncdflt_set_basic_mode(NCWD_MODE mode)
Set the basic mode of the with-defaults capability for a NETCONF server.
void ncdflt_set_supported(NCWD_MODE modes)
Set with-defaults modes that are supported.
NCWD_MODE ncdflt_get_basic_mode(void)
Get the current set basic mode of the with-defaults capability.
NCWD_MODE ncdflt_rpc_get_withdefaults(const nc_rpc *rpc)
Get value of the <with-defaults> element from the rpc message.
Functions to create NETCONF messages.
libnetconf's general public functions and structures definitions.