All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rlm_eap_pwd.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Dan Harkins, 2012
3  *
4  * Copyright holder grants permission for redistribution and use in source
5  * and binary forms, with or without modification, provided that the
6  * following conditions are met:
7  * 1. Redistribution of source code must retain the above copyright
8  * notice, this list of conditions, and the following disclaimer
9  * in all source files.
10  * 2. Redistribution in binary form must retain the above copyright
11  * notice, this list of conditions, and the following disclaimer
12  * in the documentation and/or other materials provided with the
13  * distribution.
14  *
15  * "DISCLAIMER OF LIABILITY
16  *
17  * THIS SOFTWARE IS PROVIDED BY DAN HARKINS ``AS IS'' AND
18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INDUSTRIAL LOUNGE BE LIABLE
21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27  * SUCH DAMAGE."
28  *
29  * This license and distribution terms cannot be changed. In other words,
30  * this code cannot simply be copied and put under a different distribution
31  * license (including the GNU public license).
32  */
33 
34 #ifndef _RLM_EAP_PWD_H
35 #define _RLM_EAP_PWD_H
36 
37 #include "eap_pwd.h"
38 
39 #include <freeradius-devel/radiusd.h>
40 #include <freeradius-devel/modules.h>
41 
42 typedef struct _eap_pwd_t {
43  BN_CTX *bnctx;
44 
45  uint32_t group;
46  uint32_t fragment_size;
47  char const *server_id;
48  char const *virtual_server;
49 } eap_pwd_t;
50 
51 #endif /* _RLM_EAP_PWD_H */
char const * server_id
Definition: rlm_eap_pwd.h:47
struct _eap_pwd_t eap_pwd_t
uint32_t group
Definition: rlm_eap_pwd.h:45
uint32_t fragment_size
Definition: rlm_eap_pwd.h:46
BN_CTX * bnctx
Definition: rlm_eap_pwd.h:43
char const * virtual_server
Definition: rlm_eap_pwd.h:48