]> code.citadel.org Git - citadel.git/blob - webcit/mime_parser.c
uuuughhhh... added mime_parser.c to prepare for uploads
[citadel.git] / webcit / mime_parser.c
1 /*
2  * mime_parser.c
3  *
4  * This is a really bad attempt at writing a parser to handle multipart
5  * messages -- in the case of WebCit, a form containing uploaded files.
6  */
7
8
9
10
11 #include <stdlib.h>
12 #include <unistd.h>
13 #include <stdio.h>
14 #include <signal.h>
15 #include <sys/types.h>
16 #include <ctype.h>
17 #include <string.h>
18 #include "webcit.h"
19 #include "child.h"
20
21 void mime_parser(char *content, int ContentLength, char *ContentType) {
22         char boundary[256];
23
24
25
26         }