X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Flog.h;h=3208599e939dc7ea5e5ca83d9ae62496e0d88c77;hb=bf4149c63ad2e11429e302a89f472de52b4d7ce8;hp=a0dd4cd37e3b671f691c95687847d755c2096c1c;hpb=73664b466cb0c5e9478b4af7c5d4ebed1f2db49e;p=yaz-moved-to-github.git diff --git a/include/log.h b/include/log.h index a0dd4cd..3208599 100644 --- a/include/log.h +++ b/include/log.h @@ -24,7 +24,10 @@ * 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 @@ -71,6 +74,10 @@ #include #include +#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