aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2017-07-31 23:08:06 +0200
committerGilles Chehade <gilles@poolp.org>2017-07-31 23:08:06 +0200
commit5b57fd05d1a33d8205db284eb26a0ab7a5ebc498 (patch)
tree0aafad750921b01c5ddfb78bfbc909b313c2cc36 /smtpd/smtpd.h
parentMerge branch 'master' of ssh://ssh.github.com/OpenSMTPD/OpenSMTPD (diff)
downloadOpenSMTPD-5b57fd05d1a33d8205db284eb26a0ab7a5ebc498.tar.xz
OpenSMTPD-5b57fd05d1a33d8205db284eb26a0ab7a5ebc498.zip
sync with openbsd
Diffstat (limited to 'smtpd/smtpd.h')
-rw-r--r--smtpd/smtpd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/smtpd/smtpd.h b/smtpd/smtpd.h
index f158efa7..4474f447 100644
--- a/smtpd/smtpd.h
+++ b/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.532 2017/05/26 21:30:00 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.533 2017/07/27 18:48:30 sunil Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -104,6 +104,9 @@
#define MTA_EXT_DSN 0x400
+#define P_NEWALIASES 0
+#define P_MAKEMAP 1
+
struct userinfo {
char username[SMTPD_VUSERNAME_SIZE];
char directory[PATH_MAX];
@@ -1254,7 +1257,7 @@ size_t mda_expand_format(char *, size_t, const struct envelope *,
/* makemap.c */
-int makemap(int, char **);
+int makemap(int, int, char **);
/* mailaddr.c */