summaryrefslogtreecommitdiffstats
path: root/lisiblepng/src/lisiblepng.h
diff options
context:
space:
mode:
authorClement Sibille <clements+git@lisible.xyz>2024-02-26 02:20:32 +0900
committerClement Sibille <clements+git@lisible.xyz>2024-02-26 02:20:32 +0900
commitea36f30a8e1993d4aacc8974cd0994db67902467 (patch)
tree71fbf9ce5aa8d468277d2caf25ae925a0d42d59d /lisiblepng/src/lisiblepng.h
Initial commit
Diffstat (limited to 'lisiblepng/src/lisiblepng.h')
-rw-r--r--lisiblepng/src/lisiblepng.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lisiblepng/src/lisiblepng.h b/lisiblepng/src/lisiblepng.h
new file mode 100644
index 0000000..549e0a4
--- /dev/null
+++ b/lisiblepng/src/lisiblepng.h
@@ -0,0 +1,15 @@
+#ifndef LISIBLE_PNG_H
+#define LISIBLE_PNG_H
+
+#include <stdio.h>
+
+#define LISIBLE_PNG_COMPUTE_CRC
+
+struct Png;
+typedef struct Png Png;
+
+Png *lis_Png_parse(FILE *stream);
+void lis_Png_dump_ppm(const Png *png);
+void lis_Png_destroy(Png *png);
+
+#endif // LISIBLE_PNG_H
Go back to lisible.xyz