projects
/
citadel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Modified the back end of mime_parser to use callbacks instead of
[citadel.git]
/
webcit
/
mime_parser.h
1
void extract_key(char *target, char *source, char *key);
2
3
void do_something_with_it(char *content,
4
int length,
5
char *content_type,
6
char *content_disposition,
7
void (*CallBack)
8
(char *cbname,
9
char *cbfilename,
10
char *cbencoding,
11
void *cbcontent,
12
size_t cblength)
13
);
14
15
void handle_part(char *content,
16
int part_length,
17
char *supplied_content_type,
18
void (*CallBack)
19
(char *cbname,
20
char *cbfilename,
21
char *cbencoding,
22
void *cbcontent,
23
size_t cblength)
24
);
25
26
void mime_parser(char *content,
27
int ContentLength,
28
char *ContentType,
29
void (*CallBack)
30
(char *cbname,
31
char *cbfilename,
32
char *cbencoding,
33
void *cbcontent,
34
size_t cblength)
35
);