]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/libcharon/plugins/eap_ttls/eap_ttls_peer.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / libcharon / plugins / eap_ttls / eap_ttls_peer.h
1 /*
2 * Copyright (C) 2010 Andreas Steffen
3 *
4 * Copyright (C) secunet Security Networks AG
5 *
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>.
10 *
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
14 * for more details.
15 */
16
17 /**
18 * @defgroup eap_ttls_peer eap_ttls_peer
19 * @{ @ingroup eap_ttls
20 */
21
22 #ifndef EAP_TTLS_PEER_H_
23 #define EAP_TTLS_PEER_H_
24
25 typedef struct eap_ttls_peer_t eap_ttls_peer_t;
26
27 #include "tls_application.h"
28
29 #include <library.h>
30
31 /**
32 * TLS application data handler as peer.
33 */
34 struct eap_ttls_peer_t {
35
36 /**
37 * Implements the TLS application data handler.
38 */
39 tls_application_t application;
40 };
41
42 /**
43 * Create an eap_ttls_peer instance.
44 */
45 eap_ttls_peer_t *eap_ttls_peer_create(identification_t *server,
46 identification_t *peer);
47
48 #endif /** EAP_TTLS_PEER_H_ @}*/