aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-09-23 09:42:27 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-09-23 09:42:27 +0200
commitcdff733137e608b0dd4839fdbb09cf2165f9e2d9 (patch)
tree83abc811692f1caf0457b8be7a210136c19d17a5 /src/log.h
parenta9487a332ac662ac1a41e28c1c9c51fa596c6393 (diff)
downloadbbs-cdff733137e608b0dd4839fdbb09cf2165f9e2d9.tar.gz
Documentation, fixesHEADmaster
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index 4e48dad..8b2c881 100644
--- a/src/log.h
+++ b/src/log.h
@@ -14,6 +14,7 @@
#define _LOG_DEBUG 4
unsigned int log_loglevel;
+int log_fd;
const char* log_loglevel_str[5];
@@ -35,14 +36,14 @@ const char* log_loglevel_str[5];
}
-int log_init_file(char* _file, unsigned int _verbosity);
/**
* Opens logfile, writes filedes to _fd
* */
+int log_init_file(char* _file, unsigned int _verbosity);
-int log_init_stdout(unsigned int _verbosity);
/**
* Configures LOG macros for stdout
*/
+int log_init_stdout(unsigned int _verbosity);
-
+int log_close();