xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/hfrom_format.h (revision 67b9b338a7386232ac596b5fd0cd5a9cc8a03c71)
1 /*	$NetBSD: hfrom_format.h,v 1.2 2022/10/08 16:12:45 christos Exp $	*/
2 
3 #ifndef _HFROM_FORMAT_INCLUDED_
4 #define _HFROM_FORMAT_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	hfrom_format 3h
9 /* SUMMARY
10 /*	Parse a header_from_format setting
11 /* SYNOPSIS
12 /*	#include <hfrom_format.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * External interface.
18   */
19 #define HFROM_FORMAT_CODE_OBS	0	/* Obsolete */
20 #define HFROM_FORMAT_CODE_STD	1	/* Standard */
21 
22 extern int hfrom_format_parse(const char *, const char *);
23 extern const char *str_hfrom_format_code(int);
24 
25 /* LICENSE
26 /* .ad
27 /* .fi
28 /*	The Secure Mailer license must be distributed with this software.
29 /* AUTHOR(S)
30 /*	Wietse Venema
31 /*	Google, Inc.
32 /*	111 8th Avenue
33 /*	New York, NY 10011, USA
34 /*--*/
35 
36 #endif
37