summaryrefslogtreecommitdiffstats
path: root/baseline/source/susan/wccfile.h
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2021-10-26 13:22:32 -0400
committerleochanj105 <leochanj@live.unc.edu>2021-10-26 13:22:32 -0400
commit14c854543b1a3cf344a371a5b45595657f95786b (patch)
tree70f752880522e5e44669af365754ac0f649dce81 /baseline/source/susan/wccfile.h
parent5e2ccfae0532ddd89bcc04bf14aad451e9c79785 (diff)
add deadlines and costs
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