diff options
author | Martin Willi <martin@strongswan.org> | 2007-11-20 12:06:40 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-11-20 12:06:40 +0000 |
commit | ee61471113c2eac23324c5e8a4b5843ca0679e09 (patch) | |
tree | 7a5dd0afac8e9b70d596f544bdc896bdb9757b2f /src/libstrongswan/printf_hook.h | |
parent | 7b36b734a4db879802c48b640db176d03add01e6 (diff) | |
download | strongswan-ee61471113c2eac23324c5e8a4b5843ca0679e09.tar.bz2 strongswan-ee61471113c2eac23324c5e8a4b5843ca0679e09.tar.xz |
implemented RFC4478 (repeated authentication)
changed %V printf handler to take a time delta, %#V now takes two arguments
Diffstat (limited to 'src/libstrongswan/printf_hook.h')
-rw-r--r-- | src/libstrongswan/printf_hook.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/printf_hook.h b/src/libstrongswan/printf_hook.h index 03bcf447d..77b228da0 100644 --- a/src/libstrongswan/printf_hook.h +++ b/src/libstrongswan/printf_hook.h @@ -44,7 +44,7 @@ #define PRINTF_TRAFFIC_SELECTOR 'R' /** 1 argument: time_t *time; with #-modifier 2 arguments: time_t *time, bool utc */ #define PRINTF_TIME 'T' -/** 2 arguments: time_t *begin, time_t *end */ +/** 1 argument: time_t *delta; with #-modifier 2 arguments: time_t *begin, time_t *end */ #define PRINTF_TIME_DELTA 'V' /** @@ -55,6 +55,7 @@ int arginfo_ptr_ptr(const struct printf_info *info, size_t n, int *argtypes); int arginfo_ptr_int(const struct printf_info *info, size_t n, int *argtypes); int arginfo_int_int(const struct printf_info *info, size_t n, int *argtypes); int arginfo_ptr_alt_ptr_int(const struct printf_info *info, size_t n, int *argtypes); +int arginfo_ptr_alt_ptr_ptr(const struct printf_info *info, size_t n, int *argtypes); int arginfo_int_alt_int_int(const struct printf_info *info, size_t n, int *argtypes); #endif /* PRINTF_HOOK_H_ */ |