C++ support.
[yaz-moved-to-github.git] / include / log.h
index a0dd4cd..3208599 100644 (file)
  * OF THIS SOFTWARE.
  *
  * $Log: log.h,v $
- * Revision 1.9  1997-05-01 15:06:42  adam
+ * Revision 1.10  1997-05-14 06:53:40  adam
+ * C++ support.
+ *
+ * Revision 1.9  1997/05/01 15:06:42  adam
  * Added log_mask_str_x routine.
  *
  * Revision 1.8  1996/05/01 12:45:00  quinn
 #include <yconfig.h>
 #include <stdio.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define LOG_FATAL 0x0001
 #define LOG_DEBUG 0x0002
 #define LOG_WARN  0x0004
@@ -93,4 +100,8 @@ void log_event_start (void (*func)(int level, const char *msg, void *info),
 void log_event_end (void (*func)(int level, const char *msg, void *info),
        void *info);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif