45
by mvo
* added basic "interactive-update-hooks" support |
1 |
#ifndef _RFC822_H_
|
2 |
#define _RFC822_H_
|
|
3 |
||
4 |
struct rfc822_header { |
|
5 |
char *header; |
|
6 |
char *value; |
|
7 |
struct rfc822_header *next; |
|
8 |
};
|
|
9 |
||
10 |
struct rfc822_header *rfc822_parse_stanza(FILE *file); |
|
70
by mvo
* src/rfc822.h: added a comment explaining about the memory use |
11 |
|
12 |
/* no need to free the returned string, rfc822_header_free_all takes
|
|
13 |
care of this */
|
|
45
by mvo
* added basic "interactive-update-hooks" support |
14 |
char *rfc822_header_lookup(struct rfc822_header *list, const char* key); |
15 |
||
16 |
void rfc822_header_free_all(struct rfc822_header *list); |
|
17 |
||
18 |
#endif
|