aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/printf_hook/printf_hook.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-10-11 11:06:02 +0200
committerMartin Willi <martin@revosec.ch>2013-10-11 11:06:02 +0200
commitcabe5c0ff40f3a67d0d091d1bfdc2948b203737d (patch)
tree62df7243a5579a6e7e0c5987ecbaf6585b7e49f8 /src/libstrongswan/utils/printf_hook/printf_hook.h
parentebca34d782fef5fe9ff930301079f5e119983c9e (diff)
downloadstrongswan-cabe5c0ff40f3a67d0d091d1bfdc2948b203737d.tar.bz2
strongswan-cabe5c0ff40f3a67d0d091d1bfdc2948b203737d.tar.xz
printf-hook-builtin: Add a new "builtin" backend using its own printf() routines
Overloads printf C library functions by a self-contained implementation, based on klibc. Does not yet feature all the required default formatters, including those for floating point values.
Diffstat (limited to 'src/libstrongswan/utils/printf_hook/printf_hook.h')
-rw-r--r--src/libstrongswan/utils/printf_hook/printf_hook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/printf_hook/printf_hook.h b/src/libstrongswan/utils/printf_hook/printf_hook.h
index 5520de154..c1d6fa90d 100644
--- a/src/libstrongswan/utils/printf_hook/printf_hook.h
+++ b/src/libstrongswan/utils/printf_hook/printf_hook.h
@@ -31,6 +31,8 @@ typedef enum printf_hook_argtype_t printf_hook_argtype_t;
#if defined(USE_VSTR)
# include "printf_hook_vstr.h"
+#elif defined(USE_BUILTIN_PRINTF)
+# include "printf_hook_builtin.h"
#endif
/**