The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
components.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16  */
17 
18 /**
19  * $Id: 913728cc1590f6e6f4581d1902ab07b6df1e8466 $
20  *
21  * @file lib/server/components.h
22  * @brief Module components.
23  *
24  * @copyright 2018 The FreeRADIUS server project
25  */
26 RCSIDH(components_h, "$Id: 913728cc1590f6e6f4581d1902ab07b6df1e8466 $")
27 
28 /** The different section components of the server
29  *
30  * Used as indexes in the methods array in the module_t struct.
31  */
32 typedef enum rlm_components {
33  MOD_AUTHENTICATE = 0, //!< 0 methods index for authenticate section.
34  MOD_AUTHORIZE, //!< 1 methods index for authorize section.
35  MOD_PREACCT, //!< 2 methods index for preacct section.
36  MOD_ACCOUNTING, //!< 3 methods index for accounting section.
37  MOD_POST_AUTH, //!< 7 methods index for postauth section.
38  MOD_COUNT //!< 10 how many components there are.
#define RCSIDH(h, id)
Definition: build.h:445
rlm_components
The different section components of the server.
Definition: components.h:32
@ MOD_POST_AUTH
7 methods index for postauth section.
Definition: components.h:37
@ MOD_AUTHORIZE
1 methods index for authorize section.
Definition: components.h:34
@ MOD_ACCOUNTING
3 methods index for accounting section.
Definition: components.h:36
@ MOD_PREACCT
2 methods index for preacct section.
Definition: components.h:35
@ MOD_COUNT
10 how many components there are.
Definition: components.h:38
@ MOD_AUTHENTICATE
0 methods index for authenticate section.
Definition: components.h:33
enum rlm_components rlm_components_t
The different section components of the server.