]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/lib.h
UCW::CGI: Let url_param_escape() encode non-ASCII characters
[libucw.git] / ucw / lib.h
index 4a7dc2935f4ff6755e88132ff498c65a52d1e49a..9892d9723e7c5946a1b37cdae81bd1255b01ab2d 100644 (file)
--- a/ucw/lib.h
+++ b/ucw/lib.h
@@ -1,7 +1,7 @@
 /*
  *     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>
@@ -15,6 +15,7 @@
 
 #include <ucw/config.h>
 #include <stdarg.h>
+#include <stdbool.h>
 
 #ifdef CONFIG_UCW_CLEAN_ABI
 #define assert_failed ucw_assert_failed
@@ -154,7 +155,7 @@ void vdie(const char *fmt, va_list args) NONRET;            /** va_list version of die() *
 
 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. **/