diff options
author | Philip Tricca <philip.b.tricca@intel.com> | 2018-02-19 06:25:07 -0800 |
---|---|---|
committer | Philip Tricca <philip.b.tricca@intel.com> | 2018-02-22 13:28:38 -0800 |
commit | 7f171a59e393992334bbcef76e509b4dac012dd8 (patch) | |
tree | c32565a778e696ffa35a2b2ae03c058827008b29 /include | |
parent | 3030148187487da2a66f8e02c9199e581c8fa691 (diff) | |
download | tpm2-tss-7f171a59e393992334bbcef76e509b4dac012dd8.tar.gz |
tcti: Clean out remnants of old logging infrastructure.
This should have come out back when the new stuff in the log/log.h
was added.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tcti/common.h | 6 | ||||
-rw-r--r-- | include/tcti/tcti_socket.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/tcti/common.h b/include/tcti/common.h index 6a7040c7..eaafe686 100644 --- a/include/tcti/common.h +++ b/include/tcti/common.h @@ -28,16 +28,10 @@ #ifndef TCTI_COMMON_H #define TCTI_COMMON_H -#include "sapi/tpm20.h" - #if defined (__GNUC__) #define COMPILER_ATTR(...) __attribute__((__VA_ARGS__)) #else #define COMPILER_ATTR(...) #endif -typedef enum { NO_PREFIX = 0, RM_PREFIX = 1 } printf_type; -typedef int (*TCTI_LOG_CALLBACK)( void *data, printf_type type, const char *format, ...); -typedef int (*TCTI_LOG_BUFFER_CALLBACK)( void *useriData, printf_type type, UINT8 *buffer, UINT32 length); - #endif /* TCTI_COMMON_H */ diff --git a/include/tcti/tcti_socket.h b/include/tcti/tcti_socket.h index 5f79f9e2..fca60d98 100644 --- a/include/tcti/tcti_socket.h +++ b/include/tcti/tcti_socket.h @@ -43,9 +43,6 @@ extern "C" { #define TCTI_SOCKET_DEFAULT "tcp://127.0.0.1:2321" -/* global data defined in the socket TCTI */ -extern int (*printfFunction)( printf_type type, const char *format, ...); - TSS2_RC PlatformCommand( TSS2_TCTI_CONTEXT *tctiContext, /* in */ char cmd ); |