2 * Copyright (C) 2010 Andreas Steffen
4 * Copyright (C) secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * @defgroup eap_ttls_peer eap_ttls_peer
19 * @{ @ingroup eap_ttls
22 #ifndef EAP_TTLS_PEER_H_
23 #define EAP_TTLS_PEER_H_
25 typedef struct eap_ttls_peer_t eap_ttls_peer_t
;
27 #include "tls_application.h"
32 * TLS application data handler as peer.
34 struct eap_ttls_peer_t
{
37 * Implements the TLS application data handler.
39 tls_application_t application
;
43 * Create an eap_ttls_peer instance.
45 eap_ttls_peer_t
*eap_ttls_peer_create(identification_t
*server
,
46 identification_t
*peer
);
48 #endif /** EAP_TTLS_PEER_H_ @}*/