libnetconf2  3.5.1
NETCONF server and client library in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
log.h
Go to the documentation of this file.
1 
16 #ifndef NC_LOG_H_
17 #define NC_LOG_H_
18 
19 struct nc_session;
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
33 typedef enum NC_VERB_LEVEL {
40 
51 void nc_verbosity(NC_VERB_LEVEL level);
52 
53 #ifdef NC_ENABLED_SSH_TLS
54 
70 void nc_libssh_thread_verbosity(int level);
71 
72 #endif /* NC_ENABLED_SSH_TLS */
73 
82 void nc_set_print_clb_session(void (*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *));
83 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* NC_LOG_H_ */
NC_VERB_LEVEL
Verbosity levels.
Definition: log.h:33
void nc_verbosity(NC_VERB_LEVEL level)
Set libnetconf's verbosity level.
void nc_libssh_thread_verbosity(int level)
Set libssh verbosity level.
void nc_set_print_clb_session(void(*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *))
Set libnetconf print callback.