From ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 17 Jan 2013 23:32:34 +0100 Subject: Make IKE/EAP IDs available to TNC server/client --- src/libtnccs/tnc/tnccs/tnccs.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libtnccs/tnc/tnccs/tnccs.h') diff --git a/src/libtnccs/tnc/tnccs/tnccs.h b/src/libtnccs/tnc/tnccs/tnccs.h index c3020d7c3..530562e7f 100644 --- a/src/libtnccs/tnc/tnccs/tnccs.h +++ b/src/libtnccs/tnc/tnccs/tnccs.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 Andreas Steffen + * Copyright (C) 2010-2013 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * This program is free software; you can redistribute it and/or modify it @@ -54,9 +54,13 @@ extern enum_name_t *tnccs_type_names; * Constructor definition for a pluggable TNCCS protocol implementation. * * @param is_server TRUE if TNC Server, FALSE if TNC Client + * @param server Server identity + * @param peer Client identity * @return implementation of the tnccs_t interface */ -typedef tnccs_t *(*tnccs_constructor_t)(bool is_server); +typedef tnccs_t *(*tnccs_constructor_t)(bool is_server, + identification_t *server, + identification_t *peer); /** * Callback function adding a message to a TNCCS batch -- cgit v1.2.3