OpenVAS Libraries
8.0.7
Main Page
Related Pages
Data Structures
Files
File List
Globals
misc
radius.h
Go to the documentation of this file.
1
/* openvas-libraries/nasl
2
* $Id$
3
* Description: Headers of an API for Radius authentication.
4
*
5
* Authors:
6
* Hani Benhabiles <hani.benhabiles@greenbone.net>
7
*
8
* Copyright:
9
* Copyright (C) 2015 Greenbone Networks GmbH
10
*
11
* This program is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public License
13
* as published by the Free Software Foundation; either version 2
14
* of the License, or (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24
*/
25
26
#ifndef RADIUS_CONNECT_AUTH_H
27
#define RADIUS_CONNECT_AUTH_H
28
29
typedef
struct
radius_auth_info
*
radius_auth_info_t
;
30
34
struct
radius_auth_info
35
{
36
char
*
radiushost
;
37
char
*
radiuskey
;
38
};
39
40
int
41
radius_authenticate
(
const
char
*,
const
char
*,
void
*);
42
43
radius_auth_info_t
44
radius_auth_info_from_key_file
(GKeyFile *,
const
char
*);
45
46
#endif
/* not RADIUS_CONNECT_AUTH_H */
47
radius_auth_info::radiuskey
char * radiuskey
DN to authenticate with.
Definition:
radius.h:37
radius_auth_info
Info to use for a basic radius authentication.
Definition:
radius.h:34
radius_authenticate
int radius_authenticate(const char *username, const char *password, void *info)
Dummy function for manager.
Definition:
radius.c:227
radius_auth_info::radiushost
char * radiushost
Adress of the radius server.
Definition:
radius.h:36
radius_auth_info_t
struct radius_auth_info * radius_auth_info_t
Definition:
radius.h:29
radius_auth_info_from_key_file
radius_auth_info_t radius_auth_info_from_key_file(GKeyFile *, const char *)
Generated by
1.8.5