/*
* The UCW Library -- Miscellaneous Functions
*
- * (c) 1997--2009 Martin Mares <mj@ucw.cz>
+ * (c) 1997--2014 Martin Mares <mj@ucw.cz>
* (c) 2005 Tomas Valla <tom@ucw.cz>
* (c) 2006 Robert Spalek <robert@ucw.cz>
* (c) 2007 Pavel Charvat <pchar@ucw.cz>
#include <ucw/config.h>
#include <stdarg.h>
+#include <stdbool.h>
#ifdef CONFIG_UCW_CLEAN_ABI
#define assert_failed ucw_assert_failed
extern char *log_title; /** An optional log message title. Set to program name by log_init(). **/
extern int log_pid; /** An optional PID printed in each log message. Set to 0 if it shouldn't be logged. **/
-extern void (*log_die_hook)(void); /** An optional function called just before die() exists. **/
+extern void (*log_die_hook)(void); /** An optional function called just before die() exists. **/ // API: log_die_hook
void log_init(const char *argv0); /** Set @log_title to the program name extracted from @argv[0]. **/
void log_fork(void); /** Call after fork() to update @log_pid. **/