From d75806f59369da84e8d7dec88a6b685447914d41 Mon Sep 17 00:00:00 2001
From: Jacek Masiulaniec <jacekm@cvs.openbsd.org>
Date: Thu, 18 Dec 2008 23:49:57 +0000
Subject: Declarations for functions used only in smtp_session.c were moved to
 that file from smtpd.h.

ok gilles@
---
 usr.sbin/smtpd/smtp_session.c | 7 ++++++-
 usr.sbin/smtpd/smtpd.h        | 6 +-----
 2 files changed, 7 insertions(+), 6 deletions(-)

(limited to 'usr.sbin')

diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index fd695015849..a7557c66e1c 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: smtp_session.c,v 1.29 2008/12/18 23:38:12 jacekm Exp $	*/
+/*	$OpenBSD: smtp_session.c,v 1.30 2008/12/18 23:49:56 jacekm Exp $	*/
 
 /*
  * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -59,6 +59,11 @@ int		session_rfc3207_stls_handler(struct session *, char *);
 
 int		session_rfc4954_auth_handler(struct session *, char *);
 
+void		session_read(struct bufferevent *, void *);
+int		session_read_data(struct session *, char *, size_t);
+void		session_write(struct bufferevent *, void *);
+void		session_error(struct bufferevent *, short, void *);
+void		session_msg_submit(struct session *);
 void		session_command(struct session *, char *, char *);
 int		session_set_path(struct path *, char *);
 void		session_timeout(int, short, void *);
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 804ac1dfd02..d0afbd8cbc8 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/*	$OpenBSD: smtpd.h,v 1.29 2008/12/18 23:38:12 jacekm Exp $	*/
+/*	$OpenBSD: smtpd.h,v 1.30 2008/12/18 23:49:56 jacekm Exp $	*/
 
 /*
  * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -716,11 +716,7 @@ void		 smtp_listener_setup(struct smtpd *, struct listener *);
 
 /* smtp_session.c */
 void		 session_init(struct listener *, struct session *);
-void		 session_read(struct bufferevent *, void *);
-void		 session_write(struct bufferevent *, void *);
-void		 session_error(struct bufferevent *, short, void *);
 int		 session_cmp(struct session *, struct session *);
-void		 session_msg_submit(struct session *);
 void		 session_pickup(struct session *, struct submit_status *);
 void		 session_destroy(struct session *);
 SPLAY_PROTOTYPE(sessiontree, session, s_nodes, session_cmp);
-- 
cgit v1.2.3