summaryrefslogtreecommitdiffstats
path: root/arm-wt-22k/host_src/eas_types.h
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2015-01-08 21:38:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-08 21:38:56 +0000
commit88ee045ad1220ba0accecffd41f0afb9a33a9383 (patch)
tree480b99a018d01ad4b190830029c0411e671cbd66 /arm-wt-22k/host_src/eas_types.h
parent399080e8ae3ebee97a5a57f1072452c4c77b5c5a (diff)
parentb653f90505bc6fae07a7511b54151d21d3ccd0b5 (diff)
downloadandroid_external_sonivox-88ee045ad1220ba0accecffd41f0afb9a33a9383.tar.gz
android_external_sonivox-88ee045ad1220ba0accecffd41f0afb9a33a9383.tar.bz2
android_external_sonivox-88ee045ad1220ba0accecffd41f0afb9a33a9383.zip
Merge "Use callbacks for I/O"
Diffstat (limited to 'arm-wt-22k/host_src/eas_types.h')
-rw-r--r--arm-wt-22k/host_src/eas_types.h7
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 */