diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-08-06 14:27:42 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-08-06 14:27:42 +0000 |
commit | b01b4ae8cca90bdcf508812f02e0403c69d03f5b (patch) | |
tree | a07de28ca9f53b26e30c0ad4cca03e1a490fe6ad /usr.sbin/smtpd/smtpd.h | |
parent | cfed36f4872ad807b5085bdae7b3024ec263d4d1 (diff) |
factorize file_copy_session() and file_copy() so file_copy() can handle
both deliveries to mailboxes (mbox/maildir) and copying to a session.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index f62491f1379..0af1e79ebca 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.132 2009/08/06 14:12:48 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.133 2009/08/06 14:27:41 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -873,8 +873,7 @@ void session_bufferevent_new(struct session *); SPLAY_PROTOTYPE(sessiontree, session, s_nodes, session_cmp); /* store.c */ -int -file_copy_session(struct smtpd *, FILE *, FILE *); +int file_copy(FILE *, FILE *, struct path *, enum action_type, int); int store_write_header(struct batch *, struct message *, FILE *, int); int store_write_message(struct batch *, struct message *); int store_write_daemon(struct batch *, struct message *); |