a615238808a7941c34b7a130b3339c7e04f2bc8e
[strongswan.git] / src / libimcv / plugins / imc_attestation / imc_attestation_state.h
1 /*
2 * Copyright (C) 2011 Sansar Choinyambuu
3 * HSR Hochschule fuer Technik Rapperswil
4 *
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>.
9 *
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
13 * for more details.
14 */
15
16 /**
17 *
18 * @defgroup imc_attestation_state_t imc_attestation_state
19 * @{ @ingroup imc_attestation_state
20 */
21
22 #ifndef IMC_ATTESTATION_STATE_H_
23 #define IMC_ATTESTATION_STATE_H_
24
25 #include <imc/imc_state.h>
26 #include <library.h>
27
28 typedef struct imc_attestation_state_t imc_attestation_state_t;
29
30 /**
31 * Internal state of an imc_attestation_t connection instance
32 */
33 struct imc_attestation_state_t {
34
35 /**
36 * imc_state_t interface
37 */
38 imc_state_t interface;
39 };
40
41 /**
42 * Create an imc_attestation_state_t instance
43 *
44 * @param id connection ID
45 * @param rounds total number of IMC re-measurements
46 */
47 imc_state_t* imc_attestation_state_create(TNC_ConnectionID id);
48
49 #endif /** IMC_ATTESTATION_STATE_H_ @}*/