libnetconf  0.10.0-146_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
with_defaults.h
Go to the documentation of this file.
1 
41 #ifndef NC_WITH_DEFAULTS_H_
42 #define NC_WITH_DEFAULTS_H_
43 
44 #include "netconf.h"
45 #include "messages.h"
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
67 
77 #define NCDFLT_DISABLE ncdflt_set_basic_mode(NCWD_MODE_DISABLED)
78 
85 
98 
105 
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif /* NC_WITH_DEFAULTS_H_ */
Functions to create NETCONF messages.
NCWD_MODE ncdflt_get_supported(void)
Get ORed value containing the currently supported with-defaults modes.
struct nc_msg nc_rpc
rpc message.
Definition: netconf.h:56
NCWD_MODE
Enumeration of <with-defaults> element values.
Definition: netconf.h:336
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_rpc_get_withdefaults(const nc_rpc *rpc)
Get value of the <with-defaults> element from the rpc message.
NCWD_MODE ncdflt_get_basic_mode(void)
Get the current set basic mode of the with-defaults capability.
libnetconf's general public functions and structures definitions.