X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilclog.c;h=53f70919e5b3ad0bbf6cc5786ad3db56226c196f;hp=453049a13dfc3f8ddf231169e1e3f66bb953b7a6;hb=40f8443d8d3a6577336ee66d18e04d9ac4d956bb;hpb=0f0340b9fbce9704cc7171f8f0104ce9103d2de6 diff --git a/lib/silcutil/silclog.c b/lib/silcutil/silclog.c index 453049a1..53f70919 100644 --- a/lib/silcutil/silclog.c +++ b/lib/silcutil/silclog.c @@ -18,7 +18,7 @@ */ /* $Id$ */ -#include "silcincludes.h" +#include "silc.h" /* SilcLogSettings context */ typedef struct { @@ -216,7 +216,7 @@ void silc_log_output(SilcLogType type, char *string) /* Set and initialize the specified log file. */ -bool silc_log_set_file(SilcLogType type, char *filename, SilcUInt32 maxsize, +SilcBool silc_log_set_file(SilcLogType type, char *filename, SilcUInt32 maxsize, SilcSchedule scheduler) { FILE *fp = NULL; @@ -406,7 +406,7 @@ void silc_log_set_debug_string(const char *debug_string) /* Set timestamp */ -void silc_log_timestamp(bool enable) +void silc_log_timestamp(SilcBool enable) { silclog.timestamp = enable; } @@ -420,21 +420,21 @@ void silc_log_flushdelay(SilcUInt32 flushdelay) /* Set quick logging */ -void silc_log_quick(bool enable) +void silc_log_quick(SilcBool enable) { silclog.quick = enable; } /* Set debugging */ -void silc_log_debug(bool enable) +void silc_log_debug(SilcBool enable) { silclog.debug = enable; } /* Set debug hexdump */ -void silc_log_debug_hexdump(bool enable) +void silc_log_debug_hexdump(SilcBool enable) { silclog.debug_hexdump = enable; }