projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid specifying YAZ4J_DIR for win64
[yaz-moved-to-github.git]
/
include
/
yaz
/
log.h
diff --git
a/include/yaz/log.h
b/include/yaz/log.h
index
0a9f2fd
..
9268287
100644
(file)
--- a/
include/yaz/log.h
+++ b/
include/yaz/log.h
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data.
+ * Copyright (C) Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@
-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);
*/
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
YAZ_END_CDECL
#endif