]> git.ipfire.org Git - thirdparty/strongswan.git/commit
Add a fallback callback to enum_name printf hook
authorMartin Willi <martin@revosec.ch>
Fri, 31 Aug 2012 12:59:06 +0000 (14:59 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 3 Sep 2012 08:25:14 +0000 (10:25 +0200)
commitc307a81e021c5662323008185d35571cc43986ea
tree8dae50b46aa9dc4774839061b5faa24242c82937
parent9db23e0c8eb73003f177b937f4d8dc743bb7b4b6
Add a fallback callback to enum_name printf hook

If mapping the enum value failed, the callback can directly write
to the output stream to write the fallback value.
src/libstrongswan/enum.c
src/libstrongswan/enum.h