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

« back to all changes in this revision

Viewing changes to src/rfc822.h

  • Committer: Balint Reczey
  • Date: 2019-09-20 20:02:13 UTC
  • mfrom: (975.1.4 master)
  • Revision ID: balint.reczey@canonical.com-20190920200213-8mx0d8aitaf1xo9c
MergeĀ lp:~rbalint/update-notifier/updates-available-world-readable

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