summaryrefslogtreecommitdiffstats
path: root/baseline/source/susan/wccfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/source/susan/wccfile.h')
-rw-r--r--baseline/source/susan/wccfile.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/baseline/source/susan/wccfile.h b/baseline/source/susan/wccfile.h
deleted file mode 100644
index 9314361..0000000
--- a/baseline/source/susan/wccfile.h
+++ /dev/null
@@ -1,24 +0,0 @@
1#ifndef WCC_FILE_H
2#define WCC_FILE_H
3
4enum _Origin_ { WCCSEEK_SET, WCCSEEK_CUR, WCCSEEK_END };
5typedef enum _Origin_ Origin;
6typedef unsigned int size_x;
7
8#define EOFX -1
9
10struct wccFILE {
11 char* data;
12 size_x size;
13 unsigned cur_pos;
14};
15
16size_x susan_wccfread (void* ptr, size_x size, size_x count, struct wccFILE* stream);
17int susan_wccfseek (struct wccFILE* stream, long int offset, Origin origin);
18int susan_wccfgetpos (struct wccFILE* stream, unsigned* position);
19int susan_wccfeof (struct wccFILE* stream);
20int susan_wccfgetc (struct wccFILE *stream);
21char *susan_wccfgets (char *str, int num, struct wccFILE *stream );
22
23#endif
24