diff options
Diffstat (limited to 'arm-wt-22k/host_src/eas_types.h')
-rw-r--r-- | arm-wt-22k/host_src/eas_types.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arm-wt-22k/host_src/eas_types.h b/arm-wt-22k/host_src/eas_types.h index d66a2b7..df1d1d8 100644 --- a/arm-wt-22k/host_src/eas_types.h +++ b/arm-wt-22k/host_src/eas_types.h @@ -139,10 +139,9 @@ typedef EAS_I32 EAS_FILE_MODE; /* file locator e.g. filename or memory pointer */ typedef struct s_eas_file_tag { - const char* path; - int fd; - long long offset; - long long length; + void *handle; + int(*readAt)(void *handle, void *buf, int offset, int size); + int(*size)(void *handle); } EAS_FILE, *EAS_FILE_LOCATOR; /* handle to stream */ |