]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Doxygen headers in rlm_eap_ttls
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Dec 2018 02:12:49 +0000 (21:12 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Dec 2018 02:12:49 +0000 (21:12 -0500)
src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h
src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c
src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

index 6a96973ae89f725389d0835baa1cccc1516f7747..1595e665e38bdc5a5fbc2af5e4c6f32a35cbf1e0 100644 (file)
@@ -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
  *   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 <aland@freeradius.org>
  * @copyright 2006 The FreeRADIUS server project
@@ -25,12 +27,6 @@ RCSIDH(eap_ttls_h, "$Id$")
 
 #include <freeradius-devel/eap/tls.h>
 
-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.
  */
index fbec4d9dd9dfd9ba904678d1b2e97536ff18fe43..3bcbdafc679dc410f01159b4874e0408ab27136e 100644 (file)
@@ -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
  *   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 <aland@freeradius.org>
  * @copyright 2006 The FreeRADIUS server project
index dc70714b8b1fc6c762187e6cf9bc13c4209ba6ac..33aec4c75513b2d7d71b295f4f1527504d2b0eae 100644 (file)
@@ -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
  *   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 <aland@freeradius.org>
- *   @copyright 2006 The FreeRADIUS server project
+ * @copyright 2003 Alan DeKok <aland@freeradius.org>
+ * @copyright 2006 The FreeRADIUS server project
  */
 
 RCSID("$Id$")