"Fossies" - the Fresh Open Source Software Archive

Member "fuse-3.10.4/doc/html/fuse-3_810_83_2include_2fuse__log_8h_source.html" (9 Jun 2021, 9865 Bytes) of package /linux/misc/fuse-3.10.4.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

libfuse
fuse_log.h
Go to the documentation of this file.
1 /*
2  FUSE: Filesystem in Userspace
3  Copyright (C) 2019 Red Hat, Inc.
4 
5  This program can be distributed under the terms of the GNU LGPLv2.
6  See the file COPYING.LIB.
7 */
8 
9 #ifndef FUSE_LOG_H_
10 #define FUSE_LOG_H_
11 
17 #include <stdarg.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
29  FUSE_LOG_EMERG,
30  FUSE_LOG_ALERT,
31  FUSE_LOG_CRIT,
32  FUSE_LOG_ERR,
33  FUSE_LOG_WARNING,
34  FUSE_LOG_NOTICE,
35  FUSE_LOG_INFO,
36  FUSE_LOG_DEBUG
37 };
38 
52 typedef void (*fuse_log_func_t)(enum fuse_log_level level,
53  const char *fmt, va_list ap);
54 
69 
76 void fuse_log(enum fuse_log_level level, const char *fmt, ...);
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
82 #endif /* FUSE_LOG_H_ */
fuse_log_level
Definition: fuse_log.h:28
void(* fuse_log_func_t)(enum fuse_log_level level, const char *fmt, va_list ap)
Definition: fuse_log.h:52
void fuse_log(enum fuse_log_level level, const char *fmt,...)
Definition: fuse_log.c:33
void fuse_set_log_func(fuse_log_func_t func)
Definition: fuse_log.c:25