diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-08-16 16:40:24 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-08-16 16:44:13 +0200 |
commit | 79f2102cb4429e7c776a4a0a06594f17c4270e43 (patch) | |
tree | daf01fea15f8cf5c98974804b77fe89825f135f1 /src/libcharon/plugins/eap_ttls/eap_ttls_server.h | |
parent | 06a207480e335f1d7c469ccca931d976df58b8b9 (diff) | |
download | strongswan-79f2102cb4429e7c776a4a0a06594f17c4270e43.tar.bz2 strongswan-79f2102cb4429e7c776a4a0a06594f17c4270e43.tar.xz |
implemented server side support for EAP-TTLS
Diffstat (limited to 'src/libcharon/plugins/eap_ttls/eap_ttls_server.h')
-rw-r--r-- | src/libcharon/plugins/eap_ttls/eap_ttls_server.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libcharon/plugins/eap_ttls/eap_ttls_server.h b/src/libcharon/plugins/eap_ttls/eap_ttls_server.h new file mode 100644 index 000000000..a66a813ec --- /dev/null +++ b/src/libcharon/plugins/eap_ttls/eap_ttls_server.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2010 Andreas Steffen + * Copyright (C) 2010 HSR Hochschule fuer Technik Rapperswil + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +/** + * @defgroup eap_ttls_server eap_ttls_server + * @{ @ingroup eap_ttls + */ + +#ifndef EAP_TTLS_SERVER_H_ +#define EAP_TTLS_SERVER_H_ + +typedef struct eap_ttls_server_t eap_ttls_server_t; + +#include "tls_application.h" + +#include <library.h> + +/** + * TLS application data handler as server. + */ +struct eap_ttls_server_t { + + /** + * Implements the TLS application data handler. + */ + tls_application_t application; +}; + +/** + * Create an eap_ttls_server instance. + */ +eap_ttls_server_t *eap_ttls_server_create(identification_t *server, + identification_t *peer); + +#endif /** EAP_TTLS_SERVER_H_ @}*/ |