1 /**
2  * @file
3  * Representation of the email's header
4  *
5  * @authors
6  * Copyright (C) 2017 Richard Russon <rich@flatcap.org>
7  *
8  * @copyright
9  * This program is free software: you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License as published by the Free Software
11  * Foundation, either version 2 of the License, or (at your option) any later
12  * version.
13  *
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
17  * details.
18  *
19  * You should have received a copy of the GNU General Public License along with
20  * this program.  If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef MUTT_MUTT_HEADER_H
24 #define MUTT_MUTT_HEADER_H
25 
26 struct Buffer;
27 struct Email;
28 struct EmailList;
29 struct Mailbox;
30 
31 void mutt_edit_headers(const char *editor, const char *body, struct Email *e, struct Buffer *fcc);
32 void mutt_label_hash_add(struct Mailbox *m, struct Email *e);
33 void mutt_label_hash_remove(struct Mailbox *m, struct Email *e);
34 int mutt_label_message(struct Mailbox *m, struct EmailList *el);
35 void mutt_make_label_hash(struct Mailbox *m);
36 
37 #endif /* MUTT_MUTT_HEADER_H */
38