summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-27 11:37:31 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-27 11:37:31 +0000
commitdeb3ff93f254a4b6db0432e87872af0fac563480 (patch)
treea25027d35cc693cb304fc79d95fba455b54b5258 /usr.sbin/smtpd/smtpctl
parentc787cab6e4f8071a46be007944733bb4e5e4cf39 (diff)
Implement client side of the SMTP protocol in a library-like module.
Make bounce code and /usr/sbin/sendmail interface use this new API. The mta process continues to use its own implementation, but eventually will be switched to use this shared module. Buffer routines are taken from buffer.c rather than from evbuffer. This is one step forward to using a single buffer API across the program. "it looks sexy" gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl')
-rw-r--r--usr.sbin/smtpd/smtpctl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl/Makefile b/usr.sbin/smtpd/smtpctl/Makefile
index dcacdaae430..29011cf2126 100644
--- a/usr.sbin/smtpd/smtpctl/Makefile
+++ b/usr.sbin/smtpd/smtpctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2009/03/23 15:27:39 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2009/08/27 11:37:30 jacekm Exp $
.PATH: ${.CURDIR}/..
@@ -16,7 +16,8 @@ CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare -Wbounded
-SRCS= smtpctl.c parser.c buffer.c imsg.c log.c enqueue.c queue_shared.c util.c
+SRCS= smtpctl.c parser.c buffer.c imsg.c log.c enqueue.c \
+ queue_shared.c util.c client.c
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.include <bsd.prog.mk>