From: Arran Cudbard-Bell Date: Wed, 19 Dec 2018 02:12:49 +0000 (-0500) Subject: Doxygen headers in rlm_eap_ttls X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234eb93dca1c9cd8a9754685d4af641e6cf1d121;p=thirdparty%2Ffreeradius-server.git Doxygen headers in rlm_eap_ttls --- diff --git a/src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h b/src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h index 6a96973ae89..1595e665e38 100644 --- a/src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h +++ b/src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h @@ -1,13 +1,9 @@ #pragma once /* - * eap_ttls.h - * - * Version: $Id$ - * - * This program is free software; you can redistribute it and/or modify + * This program is 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. + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,6 +13,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/** + * $Id$ + * @file eap_ttls.h + * @brief Declarations for EAP-TTLS as defined by RFC 5281 * * @copyright 2003 Alan DeKok * @copyright 2006 The FreeRADIUS server project @@ -25,12 +27,6 @@ RCSIDH(eap_ttls_h, "$Id$") #include -typedef struct ttls_tunnel_t { - VALUE_PAIR *username; - bool authenticated; - char const *virtual_server; -} ttls_tunnel_t; - extern fr_dict_attr_t const *attr_eap_tls_require_client_cert; extern fr_dict_attr_t const *attr_proxy_to_realm; extern fr_dict_attr_t const *attr_chap_challenge; @@ -44,6 +40,12 @@ extern fr_dict_attr_t const *attr_user_name; extern fr_dict_attr_t const *attr_user_password; extern fr_dict_attr_t const *attr_vendor_specific; +typedef { + VALUE_PAIR *username; + bool authenticated; + char const *virtual_server; +} ttls_tunnel_t; + /* * Process the TTLS portion of an EAP-TTLS request. */ diff --git a/src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c b/src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c index fbec4d9dd9d..3bcbdafc679 100644 --- a/src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c +++ b/src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c @@ -1,12 +1,8 @@ /* - * rlm_eap_ttls.c contains the interfaces that are called from eap - * - * Version: $Id$ - * - * This program is free software; you can redistribute it and/or modify + * This program is 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. + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,6 +12,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/** + * $Id$ + * @file rlm_eap_ttls.c + * @brief EAP-TTLS as defined by RFC 5281 * * @copyright 2003 Alan DeKok * @copyright 2006 The FreeRADIUS server project diff --git a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c index dc70714b8b1..33aec4c7551 100644 --- a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c +++ b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c @@ -1,12 +1,8 @@ /* - * rlm_eap_ttls.c contains the interfaces that are called from eap - * - * Version: $Id$ - * - * This program is free software; you can redistribute it and/or modify + * This program is 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. + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,9 +12,15 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/** + * $Id$ + * @file ttls.c + * @brief Library functions for EAP-TTLS as defined by RFC 5281 * - * @copyright 2003 Alan DeKok - * @copyright 2006 The FreeRADIUS server project + * @copyright 2003 Alan DeKok + * @copyright 2006 The FreeRADIUS server project */ RCSID("$Id$")