diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-12 09:22:01 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-12 09:22:01 -0800 |
commit | ce05175372a9ddca1a225db0765ace1127a39293 (patch) | |
tree | 5988b4d4f6b402e4953945886fc90aae11203df6 /sys/base/flate/internal.h | |
parent | b375f3cdedb5b0e08745d100b40e38d2f8396a58 (diff) |
chore: simplified organizational structurelaptop
Diffstat (limited to 'sys/base/flate/internal.h')
-rw-r--r-- | sys/base/flate/internal.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sys/base/flate/internal.h b/sys/base/flate/internal.h deleted file mode 100644 index 794c7c2..0000000 --- a/sys/base/flate/internal.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once - -#include <u.h> -#include <base.h> - -#include <zlib.h> - -typedef struct buffer -{ - union { - struct z_stream_s; - z_stream z; - }; - - ubyte buf[4098]; -} buffer; - -typedef struct flate·Reader -{ - io·Reader rdr; - void* impl; - - union { - struct buffer; - buffer b; - }; -} flate·Reader; - -typedef struct flate·Writer -{ - io·Writer wtr; - void* impl; - - union { - struct buffer; - buffer b; - }; -} flate·Writer; - |