updates.
[silc.git] / lib / silcutil / silclog.h
index 94cb814a1afb1c5cfb070f003412b3504e391221..97a870a3055b2501d78159b117f8e2432385fd8e 100644 (file)
@@ -23,6 +23,7 @@
 
 /* Set TRUE/FALSE to enable/disable debugging */
 extern int silc_debug;
+extern char *silc_debug_string;
 
 /* SILC Log types */
 typedef enum {
@@ -66,6 +67,10 @@ extern uint32 log_warning_size;
 extern uint32 log_error_size;
 extern uint32 log_fatal_size;
 
+#ifdef WIN32
+#define __FUNCTION__ ""
+#endif
+
 /* Log macros. */
 #define SILC_LOG_INFO(fmt) (silc_log_output(log_info_file, \
                                            log_info_size, \
@@ -120,5 +125,6 @@ void silc_log_reset_callbacks();
 void silc_log_set_debug_callbacks(SilcDebugCb debug, 
                                  SilcDebugHexdumpCb debug_hexdump);
 void silc_log_reset_debug_callbacks();
+void silc_log_set_debug_string(const char *debug_string);
 
 #endif