summaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-02-19 20:49:43 -0500
committerjakob <jakob@memeware.net>2017-02-19 20:49:43 -0500
commitd65a3ae8790ae28a90f0ebcf0bc4dc078c67dc35 (patch)
tree3eb2ad7f78f55cde5b809bc75904b36c5a747502 /src/io.h
parent32fb7b11d83138cc288d62c1f1674d95cc94e8de (diff)
Implemented eliF parsing.
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io.h b/src/io.h
index 87f93b2..a543ae5 100644
--- a/src/io.h
+++ b/src/io.h
@@ -20,6 +20,7 @@
#pragma once
#include <stdint.h>
+#include <stdio.h>
#include <stddef.h>
/* Internal enumerable type for representing the location of a memory
@@ -62,7 +63,7 @@ void stream_xor(struct stream *s, uint8_t initial, uint8_t primary);
size_t stream_tell(struct stream *s);
/* Sets the stream's position indicator to the given `pos`. */
-void stream_seek(struct stream *s, size_t pos);
+void stream_seek(struct stream *s, size_t pos, int whence);
/* Sets the stream's position indicator to the beginning. */
void stream_rewind(struct stream *s);