From 173db6f90670e33ca553f47f7b652265aee3a240 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Sat, 12 Dec 2009 10:33:12 +0000 Subject: Simplify client_* api, mainly by making fatal conditions result in immediate fatals instead of passing the error up (kills ~300 lines). Implement sending of the QUIT command which replaces crude close(2). tested by gilles@, todd@ --- usr.sbin/smtpd/smtpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/smtpd/smtpd.h') diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 137427e181e..43830fb1492 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.159 2009/11/13 11:27:52 jacekm Exp $ */ +/* $OpenBSD: smtpd.h,v 1.160 2009/12/12 10:33:11 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -793,7 +793,7 @@ struct mta_session { int datafd; struct event ev; char *cert; - void *smtp_state; + void *pcb; }; /* aliases.c */ -- cgit v1.2.3