]> code.citadel.org Git - citadel.git/blobdiff - citadel/mime_parser.h
* Changed the comments at the beginning of each file to a consistent format
[citadel.git] / citadel / mime_parser.h
index 7199d879079ab12cf1b00ec36e5010a6d21e1492..88f8cc7fc22255d59a0827c1a48d268bfe26f679 100644 (file)
@@ -1,37 +1,16 @@
-void extract_key(char *target, char *source, char *key);
-
-void do_something_with_it(char *content,
-               int length,
-               char *content_type,
-               char *content_disposition,
-               void (*CallBack)
-                       (char *cbname,
-                       char *cbfilename,
-                       char *cbencoding,
-                       void *cbcontent,
-                       char *cbtype,
-                       size_t cblength)
-               );
+/*
+ * $Id$
+ *
+ */
 
-void handle_part(char *content,
-               int part_length,
-               char *supplied_content_type,
-               void (*CallBack)
-                       (char *cbname,
-                       char *cbfilename,
-                       char *cbencoding,
-                       void *cbcontent,
-                       char *cbtype,
-                       size_t cblength)
-               );
+void extract_key(char *target, char *source, char *key);
 
-void mime_parser(char *content,
-               int ContentLength,
-               char *ContentType,
+void mime_parser(char *content_start, char *content_end,
                void (*CallBack)
                        (char *cbname,
                        char *cbfilename,
-                       char *cbencoding,
+                       char *cbpartnum,
+                       char *cbdisp,
                        void *cbcontent,
                        char *cbtype,
                        size_t cblength)