File: rfc822.h

package info (click to toggle)
cdebconf 0.138lenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,184 kB
  • ctags: 1,371
  • sloc: ansic: 14,158; sh: 469; makefile: 429; sql: 51; perl: 13
file content (13 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _RFC822_H_
#define _RFC822_H_

struct rfc822_header {
    char *header;
    char *value;
    struct rfc822_header *next;
};

struct rfc822_header *rfc822_parse_stanza(FILE *file);
char *rfc822_header_lookup(struct rfc822_header *list, const char* key);
void rfc822_header_destroy(struct rfc822_header *list);
#endif