aboutsummaryrefslogtreecommitdiff
path: root/src/djpeg.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/djpeg.h
parent72adc5b0fce163855e6927a1a917987368b4802f (diff)
Set dicache as MIME dispatcher for image/{gif,jpg,png}. +refactor and cleanups
Diffstat (limited to 'src/djpeg.h')
-rw-r--r--src/djpeg.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/djpeg.h b/src/djpeg.h
new file mode 100644
index 00000000..d88f5671
--- /dev/null
+++ b/src/djpeg.h
@@ -0,0 +1,19 @@
+#ifndef __JPEG_H__
+#define __JPEG_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "url.h"
+#include "image.hh"
+
+
+void *a_Jpeg_new(DilloImage *Image, DilloUrl *url, int version);
+void a_Jpeg_callback(int Op, CacheClient_t *Client);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* !__JPEG_H__ */