From 1b40b74de032b36c199c4c65016e4736c09b6c81 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 13 Jul 2012 11:38:29 +0200 Subject: Pass opaque data to printf hooks and print_in_hook() --- src/libstrongswan/utils/identification.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstrongswan/utils/identification.h') diff --git a/src/libstrongswan/utils/identification.h b/src/libstrongswan/utils/identification.h index 3978b23f3..024fcea4b 100644 --- a/src/libstrongswan/utils/identification.h +++ b/src/libstrongswan/utils/identification.h @@ -342,7 +342,7 @@ identification_t * identification_create_from_sockaddr(sockaddr_t *sockaddr); * Arguments are: * identification_t *identification */ -int identification_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, - const void *const *args); +int identification_printf_hook(printf_hook_data_t *data, + printf_hook_spec_t *spec, const void *const *args); #endif /** IDENTIFICATION_H_ @}*/ -- cgit v1.2.3