12#include "tss2_common.h"
18 const char *char_buffer;
25#define _IFAPI_IO_RETRIES 1
27#define _IFAPI_IO_RETRIES 0
30static int _ifapi_io_retry __attribute__((unused)) = _IFAPI_IO_RETRIES;
32#define IFAPI_IO_STREAM context->io.stream
33#define IFAPI_IO_BUFF context->io.char_buffer
34#define IFAPI_IO_RBUFF context->io.char_rbuffer
35#define IFAPI_IO_BUFFLEN context->io.buffer_length
36#define IFAPI_IO_BUFFIDX context->io.buffer_idx
41 const char *filename);
53 const uint8_t *buffer,
61ifapi_io_check_file_writeable(
65ifapi_io_check_create_dir(
66 const char *dirname,
int mode);
73ifapi_io_remove_directories(
75 const char *keystore_path,
86 const char *searchPath,
91ifapi_io_path_exists(
const char *path);
97ifapi_io_poll_handles(
IFAPI_IO *io, FAPI_POLL_HANDLE **handles,
size_t *num_handles);