libnetconf2  1.1.48
NETCONF library for clients and servers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
log.h
Go to the documentation of this file.
1 
15 #ifndef NC_LOG_H_
16 #define NC_LOG_H_
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
30 typedef enum NC_VERB_LEVEL {
37 
48 void nc_verbosity(NC_VERB_LEVEL level);
49 
50 #ifdef NC_ENABLED_SSH
51 
67 void nc_libssh_thread_verbosity(int level);
68 
69 #endif
70 
79 void nc_set_print_clb(void (*clb)(NC_VERB_LEVEL, const char *));
80 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 #endif /* NC_LOG_H_ */
NC_VERB_LEVEL
Verbosity levels.
Definition: log.h:30
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(void(*clb)(NC_VERB_LEVEL, const char *))
Set libnetconf's print callback.