summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-01-28 12:58:18 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-01-28 12:58:18 +0000
commit1156b379b9f5e2929b49d9def14f843765c8ed8f (patch)
tree09fbc7624d5ef416abb11dcc2f9b20f812c9fb91 /usr.sbin/smtpd/smtpd.h
parentc54d06c55ccfd9c49579193c7c6f8c4164817e81 (diff)
move some functions from queue.c to queue_shared.c as they are not only
used by queue process but also by runner, while at it change the prototype of queue_open_message_file() so it takes the message id and not a batch, runner process requires the decriptor before it even starts building a batch.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index d058f99f6d9..3426031190d 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.49 2009/01/28 11:27:57 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.50 2009/01/28 12:58:17 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -725,7 +725,7 @@ struct batch *batch_by_id(struct smtpd *, u_int64_t);
struct message *message_by_id(struct smtpd *, struct batch *, u_int64_t);
u_int16_t queue_hash(char *);
-/* sharedqueue.c */
+/* queue_shared.c */
int queue_create_layout_message(char *, char *);
void queue_delete_layout_message(char *, char *);
int queue_record_layout_envelope(char *, struct message *);
@@ -744,6 +744,10 @@ int queue_record_incoming_envelope(struct message *);
int queue_remove_incoming_envelope(struct message *);
int queue_commit_incoming_message(struct message *);
int queue_open_incoming_message_file(struct message *);
+int queue_open_message_file(char *msgid);
+void queue_message_update(struct message *);
+void queue_delete_message(char *);
+
u_int16_t queue_hash(char *);
/* mda.c */