diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-20 15:13:05 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-20 15:13:05 +0000 |
commit | 2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb (patch) | |
tree | 4d9dfc6dafbc529d13580401f5ddc8896d568e14 /src/libstrongswan/printf_hook.h | |
parent | 4305c488ed5a2d61c04c37bf2619e40a4164a421 (diff) | |
download | strongswan-2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb.tar.bz2 strongswan-2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb.tar.xz |
fixed 64 bit issue with print time
Diffstat (limited to 'src/libstrongswan/printf_hook.h')
-rw-r--r-- | src/libstrongswan/printf_hook.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstrongswan/printf_hook.h b/src/libstrongswan/printf_hook.h index 14931bd6b..3e47ef888 100644 --- a/src/libstrongswan/printf_hook.h +++ b/src/libstrongswan/printf_hook.h @@ -36,9 +36,9 @@ #define PRINTF_CHUNK 'B' /** 2 arguments: u_char *buffer, int size */ #define PRINTF_BYTES 'b' -/** 1 argument: int time; with #-modifier 2 arguments: int time, bool utc */ +/** 1 argument: time_t *time; with #-modifier 2 arguments: time_t *time, bool utc */ #define PRINTF_TIME 'T' -/** 2 arguments: integer begin, int end */ +/** 2 arguments: time_t *begin, time_t *end */ #define PRINTF_TIME_DELTA 'V' /** 1 argument: x509_t *cert; with #-modifier 2 arguments: x509_t *cert, bool utc */ #define PRINTF_X509 'Q' @@ -63,6 +63,7 @@ * Generic arginfo handlers for printf() hooks */ int arginfo_ptr(const struct printf_info *info, size_t n, int *argtypes); +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); |