summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-12-16 20:09:24 -0500
committerFreya Murphy <freya@freyacat.org>2023-12-16 20:09:24 -0500
commit081bdb70628163768a7361be10772c11980b5536 (patch)
treeea979fb19da3285ca369acaaba4bf985d19971a9 /src/stream.h
parentuse hashmap for compound tag (diff)
downloadnbtvis-081bdb70628163768a7361be10772c11980b5536.tar.gz
nbtvis-081bdb70628163768a7361be10772c11980b5536.tar.bz2
nbtvis-081bdb70628163768a7361be10772c11980b5536.zip
snbt
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h
index d9a05ce..7dc5407 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -7,6 +7,8 @@
typedef struct {
FILE *__file;
bool __alloc;
+ char peakbuf[16];
+ int peakamt;
} stream_t;
stream_t stream_open(const char *path, const char* mode);