Fix header file layout
authorAlan T. DeKok <aland@freeradius.org>
Mon, 10 Nov 2014 17:20:32 +0000 (12:20 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 10 Nov 2014 17:20:32 +0000 (12:20 -0500)
src/include/map.h
src/include/tmpl.h

index d222f2a..0b44610 100644 (file)
@@ -19,7 +19,7 @@
  * $Id$
  *
  * @file map.h
- * @brief Structures and prototypes for templates / maps
+ * @brief Structures and prototypes for maps
  *
  * @copyright 2013  The FreeRADIUS server project
  */
@@ -29,6 +29,10 @@ RCSIDH(map_h, "$Id$")
 #include <freeradius-devel/conffile.h>
 #include <freeradius-devel/tmpl.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** Value pair map
  *
  * Value pair maps contain a pair of templates, that describe a src attribute
index 9b04505..456aa49 100644 (file)
  *
  *   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
+ *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 
  */
 #ifndef TMPL_H
 #define TMPL_H
+/**
+ * $Id$
+ *
+ * @file tmpl.h
+ * @brief Structures and prototypes for templates
+ *
+ * @copyright 2014  The FreeRADIUS server project
+ */
+
+RCSIDH(tmpl_h, "$Id$")
 
 #ifdef __cplusplus
 extern "C" {
@@ -59,14 +69,6 @@ typedef struct pair_list {
        struct pair_list        *lastdefault;
 } PAIR_LIST;
 
-/**
- * $Id$
- *
- * @file map.h
- * @brief Structures and prototypes for templates / maps
- *
- * @copyright 2014  The FreeRADIUS server project
- */
 typedef enum tmpl_type {
        TMPL_TYPE_UNKNOWN = 0,
        TMPL_TYPE_LITERAL,              //!< Is a literal string.