diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-18 23:49:57 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-18 23:49:57 +0000 |
commit | d75806f59369da84e8d7dec88a6b685447914d41 (patch) | |
tree | 2dc3591a009b840899b442d3b2750773626eba5b /usr.sbin | |
parent | cf571d3248d7e58bd50da6ba9ab2dad934f46497 (diff) |
Declarations for functions used only in smtp_session.c were moved
to that file from smtpd.h.
ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/smtp_session.c | 7 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 6 |
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); |