summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@cvs.openbsd.org>2017-07-27 18:48:31 +0000
committerSunil Nimmagadda <sunil@cvs.openbsd.org>2017-07-27 18:48:31 +0000
commit50683ab5860858cee8f0fb938a9b5bf01f2a4d93 (patch)
tree2afbb33d33caec160ab452194e22f5603d13dd22 /usr.sbin/smtpd/smtpd.h
parent6ef77a9f70fa12d91578727533caa7172e17461d (diff)
smtpctl(8): Use an int to determine mode instead of __progname.
Ok millert@ gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index f158efa73d5..4474f44727a 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/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 */