]>
Commit | Line | Data |
---|---|---|
d1a0cf73 SB |
1 | /* |
2 | * Public TPM functions | |
3 | * | |
4 | * Copyright (C) 2011-2013 IBM Corporation | |
5 | * | |
6 | * Authors: | |
7 | * Stefan Berger <[email protected]> | |
8 | * | |
9 | * This work is licensed under the terms of the GNU GPL, version 2 or later. | |
10 | * See the COPYING file in the top-level directory. | |
11 | */ | |
12 | #ifndef QEMU_TPM_H | |
13 | #define QEMU_TPM_H | |
14 | ||
15 | #include "qemu/option.h" | |
16 | ||
8f0605cc SB |
17 | typedef struct TPMState TPMState; |
18 | typedef struct TPMSizedBuffer TPMSizedBuffer; | |
19 | typedef void (TPMRecvDataCB)(TPMState *, uint8_t locty); | |
20 | ||
d1a0cf73 SB |
21 | int tpm_config_parse(QemuOptsList *opts_list, const char *optarg); |
22 | int tpm_init(void); | |
23 | void tpm_cleanup(void); | |
24 | ||
25 | #endif /* QEMU_TPM_H */ |