08eff4aef7fa66d33af98b40e9df62a77793d582
[strongswan.git] / src / charon-tkm / src / tkm / tkm_spi_generator.h
1 /*
2 * Copyright (C) 2015 Reto Buerki
3 * Copyright (C) 2015 Adrian-Ken Rueegsegger
4 * HSR Hochschule fuer Technik Rapperswil
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 /**
18 * @defgroup tkm-spi-generator spi generator
19 * @{ @ingroup tkm
20 */
21
22 #ifndef TKM_SPI_GENERATOR_H_
23 #define TKM_SPI_GENERATOR_H_
24
25 #include <plugins/plugin.h>
26
27 /**
28 * Register the TKM SPI generator callback.
29 *
30 * @return TRUE on success
31 */
32 bool tkm_spi_generator_register(plugin_t *plugin,
33 plugin_feature_t *feature,
34 bool reg, void *cb_data);
35
36 #endif /** TKM_SPI_GENERATOR_H_ @}*/