2 * Copyright (C) 2008 Martin Willi
3 * Hochschule fuer Technik Rapperswil
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 * @defgroup eap_sim_file_provider eap_sim_file_provider
20 * @{ @ingroup eap_sim_file
23 #ifndef EAP_SIM_FILE_PROVIDER_H_
24 #define EAP_SIM_FILE_PROVIDER_H_
26 #include "eap_sim_file_triplets.h"
28 #include <sa/authenticators/eap/sim_manager.h>
30 typedef struct eap_sim_file_provider_t eap_sim_file_provider_t
;
33 * SIM provider implementation on top of triplets file.
35 struct eap_sim_file_provider_t
{
38 * Implements sim_provider_t interface.
40 sim_provider_t provider
;
43 * Destroy a eap_sim_file_provider_t.
45 void (*destroy
)(eap_sim_file_provider_t
*this);
49 * Create a eap_sim_file_provider instance.
51 eap_sim_file_provider_t
*eap_sim_file_provider_create(
52 eap_sim_file_triplets_t
*triplets
);
54 #endif /* EAP_SIM_FILE_PROVIDER_ @}*/