xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/defer.h (revision e89934bbf778a6d6d6894877c4da59d0c7835b0f)
1 /*	$NetBSD: defer.h,v 1.2 2017/02/14 01:16:45 christos Exp $	*/
2 
3 #ifndef _DEFER_H_INCLUDED_
4 #define _DEFER_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	defer 3h
9 /* SUMMARY
10 /*	defer service client interface
11 /* SYNOPSIS
12 /*	#include <defer.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Global library.
18   */
19 #include <bounce.h>
20 
21  /*
22   * External interface.
23   */
24 extern int defer_append(int, const char *, MSG_STATS *, RECIPIENT *,
25 			        const char *, DSN *);
26 extern int defer_flush(int, const char *, const char *, const char *, int,
27 		               const char *, const char *, int);
28 extern int defer_warn(int, const char *, const char *, const char *, int,
29 		              const char *, const char *, int);
30 extern int defer_one(int, const char *, const char *, const char *, int,
31 		             const char *, const char *,
32 		             int, MSG_STATS *, RECIPIENT *,
33 		             const char *, DSN *);
34 
35  /*
36   * Start of private API.
37   */
38 #ifdef DSN_INTERN
39 
40 extern int defer_append_intern(int, const char *, MSG_STATS *, RECIPIENT *,
41 			               const char *, DSN *);
42 
43 #endif
44 
45 /* LICENSE
46 /* .ad
47 /* .fi
48 /*	The Secure Mailer license must be distributed with this software.
49 /* AUTHOR(S)
50 /*	Wietse Venema
51 /*	IBM T.J. Watson Research
52 /*	P.O. Box 704
53 /*	Yorktown Heights, NY 10598, USA
54 /*--*/
55 
56 #endif
57