summaryrefslogtreecommitdiff
path: root/include/sysemu/tpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/tpm.h')
-rw-r--r--include/sysemu/tpm.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h
new file mode 100644
index 0000000000..13febddbee
--- /dev/null
+++ b/include/sysemu/tpm.h
@@ -0,0 +1,23 @@
+/*
+ * Public TPM functions
+ *
+ * Copyright (C) 2011-2013 IBM Corporation
+ *
+ * Authors:
+ * Stefan Berger <stefanb@us.ibm.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+#ifndef QEMU_TPM_H
+#define QEMU_TPM_H
+
+#include "qemu/option.h"
+
+typedef struct TPMState TPMState;
+
+int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
+int tpm_init(void);
+void tpm_cleanup(void);
+
+#endif /* QEMU_TPM_H */