diff options
author | Shav Kinderlehrer <[email protected]> | 2023-04-17 10:23:52 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-04-17 10:23:52 -0400 |
commit | a550c7f22985048a0089a529ca89061ab80daff2 (patch) | |
tree | addafd909c8ba041cf293fd144e5c9891c8952c9 /include/types.h | |
parent | 6eadc6dd06dfd2fb1f61c4fd142811f10e4a4f51 (diff) | |
download | lat-a550c7f22985048a0089a529ca89061ab80daff2.tar.gz lat-a550c7f22985048a0089a529ca89061ab80daff2.zip |
Add optional processing stagev0.7.0
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 <stdbool.h> +#include <stddef.h> + +struct line { + size_t len; + char *buf; +}; + +struct filedata { + int lc; + bool binary; + + size_t buflen; + + char *buf; + struct line *lines; +}; + +#endif |