1 /*        $NetBSD: rewrite_clnt.h,v 1.1.1.1 2009/06/23 10:08:48 tron Exp $      */
2 
3 #ifndef _REWRITE_CLNT_H_INCLUDED_
4 #define _REWRITE_CLNT_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*        rewrite_clnt 3h
9 /* SUMMARY
10 /*        address rewriter client
11 /* SYNOPSIS
12 /*        #include <rewrite_clnt.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <vstring.h>
20 
21  /*
22   * Global library.
23   */
24 #include <mail_proto.h>                           /* MAIL_ATTR_RWR_LOCAL */
25 
26  /*
27   * External interface.
28   */
29 #define REWRITE_ADDR          "rewrite"
30 #define REWRITE_CANON         MAIL_ATTR_RWR_LOCAL /* backwards compatibility */
31 
32 extern VSTRING *rewrite_clnt(const char *, const char *, VSTRING *);
33 extern VSTRING *rewrite_clnt_internal(const char *, const char *, VSTRING *);
34 
35 /* LICENSE
36 /* .ad
37 /* .fi
38 /*        The Secure Mailer license must be distributed with this software.
39 /* AUTHOR(S)
40 /*        Wietse Venema
41 /*        IBM T.J. Watson Research
42 /*        P.O. Box 704
43 /*        Yorktown Heights, NY 10598, USA
44 /*--*/
45 
46 #endif
47