libnetconf
0.10.0-146_trunk
NETCONF Library
|
libnetconf's settings for NETCONF :url capability as defined in RFC 6241. More...
Enumerations | |
enum | NC_URL_PROTOCOLS { NC_URL_UNKNOWN = 0, NC_URL_SCP = 1, NC_URL_HTTP = 2, NC_URL_HTTPS = 4, NC_URL_FTP = 8, NC_URL_SFTP = 16, NC_URL_FTPS = 32, NC_URL_FILE = 64, NC_URL_ALL = 127 } |
List of protocol IDs supported by URL capability implementation. Values are used to enable/disable server support of these protocols (nc_url_enable(), nc_url_disable()). More... | |
Functions | |
void | nc_url_disable (NC_URL_PROTOCOLS protocol) |
Disable specific protocol for use in URL capability. More... | |
void | nc_url_enable (NC_URL_PROTOCOLS protocol) |
Enable specific protocol for use in URL capability. More... | |
void | nc_url_set_protocols (int protocols) |
Overwrite enabled protocols for URL capability. More... | |
libnetconf's settings for NETCONF :url capability as defined in RFC 6241.
enum NC_URL_PROTOCOLS |
List of protocol IDs supported by URL capability implementation. Values are used to enable/disable server support of these protocols (nc_url_enable(), nc_url_disable()).
void nc_url_disable | ( | NC_URL_PROTOCOLS | protocol | ) |
Disable specific protocol for use in URL capability.
protocol | ID of the protocol to disable. |
void nc_url_enable | ( | NC_URL_PROTOCOLS | protocol | ) |
Enable specific protocol for use in URL capability.
protocol | ID of the protocol to enable. |
void nc_url_set_protocols | ( | int | protocols | ) |
Overwrite enabled protocols for URL capability.
protocols | binary array of protocol IDs (ORed NC_URL_PROTOCOLS) to be enabled. |