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

« back to all changes in this revision

Viewing changes to src/rfc822.h

  • Committer: Andrea Azzarone
  • Date: 2019-03-13 10:05:20 UTC
  • mto: This revision was merged to the branch mainline in revision 956.
  • Revision ID: azzaronea@gmail.com-20190313100520-024zyxvlpm81vgrq
Add livepatch status icons.

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