~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/rfc822.h

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
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);
11
 
 
12
 
/* no need to free the returned string, rfc822_header_free_all takes
13
 
   care of this */
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