we always want to DOTLOCK mboxes.
[apps/madmutt.git] / mutt_idna.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 2003 Thomas Roessler <roessler@does-not-exist.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _MUTT_IDNA_H
11 # define _MUTT_IDNA_H
12
13 #include <lib-mime/mime.h>
14
15 #define MI_MAY_BE_IRREVERSIBLE          (1 << 0)
16
17 int mutt_idna_to_local (const char *, char **, int);
18 int mutt_local_to_idna (const char *, char **);
19
20 int mutt_addrlist_to_idna (address_t *, char **);
21 int mutt_addrlist_to_local (address_t *);
22
23 void mutt_env_to_local (ENVELOPE *);
24 int mutt_env_to_idna (ENVELOPE *, const char **, char **);
25
26 const char *mutt_addr_for_display (address_t * a);
27
28 #endif