libnetconf2 3.7.1
NETCONF server and client library in C.
Loading...
Searching...
No Matches
log.h
Go to the documentation of this file.
1
16#ifndef NC_LOG_H_
17#define NC_LOG_H_
18
19struct nc_session;
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
40
52
53#ifdef NC_ENABLED_SSH_TLS
54
71
72#endif /* NC_ENABLED_SSH_TLS */
73
82void 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_ */
void nc_libssh_thread_verbosity(int level)
Set libssh verbosity level.
NC_VERB_LEVEL
Verbosity levels.
Definition log.h:33
void nc_set_print_clb_session(void(*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *))
Set libnetconf print callback.
void nc_verbosity(NC_VERB_LEVEL level)
Set libnetconf's verbosity level.
@ NC_VERB_DEBUG
Definition log.h:37
@ NC_VERB_DEBUG_LOWLVL
Definition log.h:38
@ NC_VERB_WARNING
Definition log.h:35
@ NC_VERB_ERROR
Definition log.h:34
@ NC_VERB_VERBOSE
Definition log.h:36