libnetconf2
3.5.4
NETCONF server and client library in C.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
{
34
NC_VERB_ERROR
= 0,
35
NC_VERB_WARNING
= 1,
36
NC_VERB_VERBOSE
= 2,
37
NC_VERB_DEBUG
= 3,
38
NC_VERB_DEBUG_LOWLVL
= 4
39
}
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
NC_VERB_LEVEL
Verbosity levels.
Definition:
log.h:33
nc_verbosity
void nc_verbosity(NC_VERB_LEVEL level)
Set libnetconf's verbosity level.
NC_VERB_VERBOSE
Definition:
log.h:36
nc_libssh_thread_verbosity
void nc_libssh_thread_verbosity(int level)
Set libssh verbosity level.
NC_VERB_ERROR
Definition:
log.h:34
NC_VERB_DEBUG_LOWLVL
Definition:
log.h:38
nc_set_print_clb_session
void nc_set_print_clb_session(void(*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *))
Set libnetconf print callback.
NC_VERB_DEBUG
Definition:
log.h:37
NC_VERB_WARNING
Definition:
log.h:35
src
log.h
Generated on Thu Nov 21 2024 09:21:05 for libnetconf2 by
1.8.5