libnetconf  0.10.0-146_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
url.h
Go to the documentation of this file.
1 
40 #ifndef DISABLE_URL
41 #ifndef NC_URL_H_
42 #define NC_URL_H_
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
54 typedef enum NC_URL_PROTOCOLS {
56  NC_URL_SCP = 1,
59  NC_URL_FTP = 8,
60  NC_URL_SFTP = 16,
61  NC_URL_FTPS = 32,
62  NC_URL_FILE = 64,
63  NC_URL_ALL = 127
65 
72 void nc_url_set_protocols(int protocols);
73 
79 void nc_url_enable(NC_URL_PROTOCOLS protocol);
80 
86 void nc_url_disable(NC_URL_PROTOCOLS protocol);
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif /* NC_URL_H_ */
93 #endif /* DISABLE_URL */
NC_URL_PROTOCOLS
List of protocol IDs supported by URL capability implementation. Values are used to enable/disable se...
Definition: url.h:54
Definition: url.h:60
Definition: url.h:63
Definition: url.h:59
Definition: url.h:62
Definition: url.h:57
void nc_url_disable(NC_URL_PROTOCOLS protocol)
Disable specific protocol for use in URL capability.
Definition: url.h:61
void nc_url_set_protocols(int protocols)
Overwrite enabled protocols for URL capability.
Definition: url.h:55
Definition: url.h:56
Definition: url.h:58
void nc_url_enable(NC_URL_PROTOCOLS protocol)
Enable specific protocol for use in URL capability.