summaryrefslogtreecommitdiff
path: root/include/pspng.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pspng.h')
-rw-r--r--include/pspng.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pspng.h b/include/pspng.h
new file mode 100644
index 0000000..645c63b
--- /dev/null
+++ b/include/pspng.h
@@ -0,0 +1,7 @@
+#pragma once
+
+int check_file_header(char *addr);
+unsigned long first_idat(unsigned char *addr);
+int total_idat(unsigned char *addr);
+void build_png_file(struct PNG_FILE_STRUCT *png_file, char *out_file_name);
+int change_idat_content(unsigned char *addr, struct PNG_FILE_STRUCT *png_file, char *message, int accuracy, unsigned long offset, char *out_file_name);