updates
[silc.git] / lib / silcutil / silclog.h
index 222575beaa2da02e0d04328cfbb1914bb664efcc..0d77480720d838673a608834e1ffdc94091f30f2 100644 (file)
@@ -160,7 +160,24 @@ typedef bool (*SilcLogHexdumpCb)(char *file, char *function, int line,
  *    silc_log_flush_all() after setting this variable to TRUE.
  *
  ***/
-extern bool silc_log_quick;
+extern DLLAPI bool silc_log_quick;
+
+/****v* silcutil/SilcLogAPI/silc_log_flushdelay
+ *
+ * NAME
+ *
+ *    long silc_log_flushdelay -- flushing time delay
+ *
+ * DESCRIPTION
+ *
+ *    Sets the logfiles flushing delay in seconds.  As for now, changing this
+ *    value AFTER logfiles initialization won't take effect until previous
+ *    delay time will expire; for example if you change from 300 seconds to
+ *    60 seconds you will have to wait up to 300 seconds for this change to
+ *    take effect.
+ *
+ ***/
+extern DLLAPI long silc_log_flushdelay;
 
 /****v* silcutil/SilcLogAPI/silc_debug
  *
@@ -179,7 +196,7 @@ extern bool silc_log_quick;
  *    SILC_LOG_DEBUG
  *
  ***/
-extern bool silc_debug;
+extern DLLAPI bool silc_debug;
 
 /****v* silcutil/SilcLogAPI/silc_debug_hexdump
  *
@@ -198,7 +215,7 @@ extern bool silc_debug;
  *    SILC_LOG_HEXDUMP
  *
  ***/
-extern bool silc_debug_hexdump;
+extern DLLAPI bool silc_debug_hexdump;
 
 /* Macros */