summaryrefslogtreecommitdiff
path: root/src/dpng.h
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-31 14:48:13 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-31 14:48:13 -0300
commit7176684710b1b214243d330d7a20f11ce0cfdeb2 (patch)
treea9668943fd4fb56d328a9869aef3c08d6abe3bce /src/dpng.h
parent72adc5b0fce163855e6927a1a917987368b4802f (diff)
Set dicache as MIME dispatcher for image/{gif,jpg,png}. +refactor and cleanups
Diffstat (limited to 'src/dpng.h')
-rw-r--r--src/dpng.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/dpng.h b/src/dpng.h
new file mode 100644
index 00000000..a9ee8820
--- /dev/null
+++ b/src/dpng.h
@@ -0,0 +1,19 @@
+#ifndef __PNG_H__
+#define __PNG_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "url.h"
+#include "image.hh"
+
+
+void *a_Png_new(DilloImage *Image, DilloUrl *url, int version);
+void a_Png_callback(int Op, CacheClient_t *Client);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* !__PNG_H__ */