aboutsummaryrefslogtreecommitdiff
path: root/src/resources.h
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2021-05-02 10:19:23 +0200
committerJan Sucan <jan@jansucan.com>2021-05-02 10:20:29 +0200
commit02ffe0ed4113e7b479197d0ba1b160e6280b4099 (patch)
treec7a3573039ba02983eec38267d61d86e1965bbab /src/resources.h
parent36a92af6ee3c20c93835a34ddeb148c34ccf023c (diff)
Move the source files to a src directory
Diffstat (limited to 'src/resources.h')
-rw-r--r--src/resources.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/resources.h b/src/resources.h
new file mode 100644
index 0000000..0cf9777
--- /dev/null
+++ b/src/resources.h
@@ -0,0 +1,17 @@
+#ifndef RESOURCES_H
+#define RESOURCES_H
+
+typedef struct {
+ FILE *in_file;
+ FILE *ref_file;
+ FILE *out_file;
+
+ char *in_buffer;
+ char *ref_buffer;
+ char *out_buffer;
+} resources_t;
+
+void resources_init(resources_t *const res);
+void resources_free(resources_t *const res);
+
+#endif /* RESOURCES_H */