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
Added yaz_log_trunc() to truncate the log file
[yaz-moved-to-github.git]
/
include
/
yaz
/
log.h
diff --git
a/include/yaz/log.h
b/include/yaz/log.h
index
fb3b161
..
1aea84f
100644
(file)
--- a/
include/yaz/log.h
+++ b/
include/yaz/log.h
@@
-23,7
+23,7
@@
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: log.h,v 1.37 2006-05-07 18:26:25 adam Exp $
+ * $Id: log.h,v 1.38 2006-07-06 13:10:29 heikki Exp $
*/
/**
*/
/**
@@
-187,6
+187,9
@@
YAZ_EXPORT void yaz_log_set_handler(void (*func)(int, const char *,
YAZ_EXPORT void yaz_log_reopen(void);
YAZ_EXPORT void yaz_log_reopen(void);
+/** \brief Truncate the log file */
+YAZ_EXPORT void yaz_log_trunc(void);
+
YAZ_EXPORT void log_event_start(void (*func)(int level, const char *msg,
void *info), void *info);
YAZ_EXPORT void log_event_start(void (*func)(int level, const char *msg,
void *info), void *info);