X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Flog.h;h=926828734af33885ab3df0a362ec23e7cf7f6487;hp=57bad18f88fa133b3e9c778080f6ec976b4abe7a;hb=d654b817f2bdb80102dd663d78f31ab3eea4f6bd;hpb=473824797f568578dc17d7242551cb2f7ccef46c diff --git a/include/yaz/log.h b/include/yaz/log.h index 57bad18..9268287 100644 --- a/include/yaz/log.h +++ b/include/yaz/log.h @@ -220,6 +220,13 @@ YAZ_EXPORT void log_event_end(void (*func)(int level, const char *msg, */ YAZ_EXPORT void yaz_log_xml_errors(const char *prefix, int log_level); +/** \brief Lock for YAZ log writes +*/ +YAZ_EXPORT void yaz_log_lock(void); + +/** \brief Unlock for YAZ log writes +*/ +YAZ_EXPORT void yaz_log_unlock(void); YAZ_END_CDECL #endif