]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libcharon/plugins/eap_aka_3gpp/eap_aka_3gpp_provider.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / libcharon / plugins / eap_aka_3gpp / eap_aka_3gpp_provider.h
CommitLineData
1aba82bf
TB
1/*
2 * Copyright (C) 2008-2009 Martin Willi
19ef2aec
TB
3 *
4 * Copyright (C) secunet Security Networks AG
1aba82bf
TB
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16/*
17 * Copyright (C) 2015 Thomas Strangert
18 * Polystar System AB, Sweden
19 *
20 * Permission is hereby granted, free of charge, to any person obtaining a copy
21 * of this software and associated documentation files (the "Software"), to deal
22 * in the Software without restriction, including without limitation the rights
23 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24 * copies of the Software, and to permit persons to whom the Software is
25 * furnished to do so, subject to the following conditions:
26 *
27 * The above copyright notice and this permission notice shall be included in
28 * all copies or substantial portions of the Software.
29 *
30 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
36 * THE SOFTWARE.
37 */
38
39/**
40 * @defgroup eap_aka_3gpp_provider eap_aka_3gpp_provider
41 * @{ @ingroup eap_aka_3gpp
42 */
43
44#ifndef EAP_AKA_3GPP_PROVIDER_H_
45#define EAP_AKA_3GPP_PROVIDER_H_
46
47#include "eap_aka_3gpp_functions.h"
48
49#include <simaka_provider.h>
50
51typedef struct eap_aka_3gpp_provider_t eap_aka_3gpp_provider_t;
52
53/**
54 * SIM provider implementation using a set of AKA functions.
55 */
56struct eap_aka_3gpp_provider_t {
57
58 /**
59 * Implements simaka_provider_t interface.
60 */
61 simaka_provider_t provider;
62
63 /**
64 * Destroy a eap_aka_3gpp_provider_t.
65 */
66 void (*destroy)(eap_aka_3gpp_provider_t *this);
67};
68
69/**
70 * Create a eap_aka_3gpp_provider instance.
71 */
72eap_aka_3gpp_provider_t *eap_aka_3gpp_provider_create(
73 eap_aka_3gpp_functions_t *f);
74
75#endif /** EAP_AKA_3GPP_PROVIDER_H_ @}*/