]> git.ipfire.org Git - people/ms/dma.git/blobdiff - dma.h
dma: more loudly note that we should query for MX records
[people/ms/dma.git] / dma.h
diff --git a/dma.h b/dma.h
index 75ce1cccaf26a3ef463458819373a8315625b8d1..70e5f03dd28f0aad2bbe2243dd097d83681b6703 100644 (file)
--- a/dma.h
+++ b/dma.h
@@ -31,8 +31,6 @@
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $DragonFly: src/libexec/dma/dma.h,v 1.8 2008/09/30 17:47:21 swildner Exp $
  */
 
 #ifndef DMA_H
@@ -146,6 +144,7 @@ extern struct strlist tmpfs;
 extern struct virtusers virtusers;
 extern struct authusers authusers;
 extern const char *username;
+extern const char *logident_base;
 
 extern char neterr[BUF_SIZE];
 
@@ -175,18 +174,28 @@ int base64_encode(const void *, int, char **);
 int base64_decode(const char *, void *);
 
 /* dma.c */
-int open_locked(const char *, int, ...);
 int add_recp(struct queue *, const char *, const char *, int);
-const char *hostname(void);
 
 /* spool.c */
 int newspoolf(struct queue *, const char *);
 int linkspool(struct queue *, const char *);
-void load_queue(struct queue *);
+int load_queue(struct queue *);
 void delqueue(struct qitem *);
 int aquirespool(struct qitem *);
 void dropspool(struct queue *, struct qitem *);
 
 /* local.c */
 int deliver_local(struct qitem *, const char **errmsg);
+
+/* util.c */
+const char *hostname(void);
+void setlogident(const char *, ...);
+void errlog(int, const char *, ...);
+void errlogx(int, const char *, ...);
+void set_username(void);
+void deltmp(void);
+int open_locked(const char *, int, ...);
+char *rfc822date(void);
+int strprefixcmp(const char *, const char *);
+
 #endif