summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/smtp_session.c7
-rw-r--r--usr.sbin/smtpd/smtpd.h6
2 files changed, 7 insertions, 6 deletions
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);