xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/mail_addr_form.h (revision 33881f779a77dce6440bdc44610d94de75bebefe)
1 /*	$NetBSD: mail_addr_form.h,v 1.2 2020/03/18 19:05:16 christos Exp $	*/
2 
3 #ifndef _MAIL_ADDR_FORM_H_INCLUDED_
4 #define _MAIL_ADDR_FORM_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	mail_addr_form 3h
9 /* SUMMARY
10 /*	mail address formats
11 /* SYNOPSIS
12 /*	#include <mail_addr_form.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * External interface.
18   */
19 #define MA_FORM_INTERNAL	1	/* unquoted form */
20 #define MA_FORM_EXTERNAL	2	/* quoted form */
21 #define MA_FORM_EXTERNAL_FIRST 3	/* quoted form, then unquoted */
22 #define MA_FORM_INTERNAL_FIRST 4	/* unquoted form, then quoted */
23 
24 extern int mail_addr_form_from_string(const char *);
25 extern const char *mail_addr_form_to_string(int);
26 
27 /* LICENSE
28 /* .ad
29 /* .fi
30 /*	The Secure Mailer license must be distributed with this software.
31 /* AUTHOR(S)
32 /*	Wietse Venema
33 /*	Google, Inc.
34 /*	111 8th Avenue
35 /*	New York, NY 10011, USA
36 /*--*/
37 
38 #endif
39