From a550c7f22985048a0089a529ca89061ab80daff2 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Mon, 17 Apr 2023 10:23:52 -0400 Subject: Add optional processing stage --- include/types.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/types.h (limited to 'include/types.h') diff --git a/include/types.h b/include/types.h new file mode 100644 index 0000000..9fb7809 --- /dev/null +++ b/include/types.h @@ -0,0 +1,22 @@ +#ifndef TYPES_H +#define TYPES_H + +#include +#include + +struct line { + size_t len; + char *buf; +}; + +struct filedata { + int lc; + bool binary; + + size_t buflen; + + char *buf; + struct line *lines; +}; + +#endif -- cgit v1.2.3