summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-11-25 23:01:01 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-11-25 23:01:01 +0000
commit1da2b011a768b414feda842ff0803b2f8b16cf74 (patch)
treee356812561fb6cc749424c49c78a4922c497517d /usr.sbin
parent0da18cdd63bc38f2717ba081b1f290c9a711bab0 (diff)
- move prototypes to smtpd.h
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/aliases.c7
-rw-r--r--usr.sbin/smtpd/smtpd.h8
2 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/aliases.c b/usr.sbin/smtpd/aliases.c
index d9d417e0977..ff086bb452a 100644
--- a/usr.sbin/smtpd/aliases.c
+++ b/usr.sbin/smtpd/aliases.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aliases.c,v 1.6 2008/11/17 20:16:48 gilles Exp $ */
+/* $OpenBSD: aliases.c,v 1.7 2008/11/25 23:01:00 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -40,12 +40,7 @@
#include "smtpd.h"
-int aliases_exist(struct smtpd *, char *);
-int aliases_get(struct smtpd *, struct aliaseslist *, char *);
-int aliases_virtual_exist(struct smtpd *, struct path *);
-int aliases_virtual_get(struct smtpd *, struct aliaseslist *, struct path *);
int aliases_expand_include(struct aliaseslist *, char *);
-
int alias_parse(struct alias *, char *);
int alias_is_filter(struct alias *, char *, size_t);
int alias_is_username(struct alias *, char *, size_t);
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index c68d968f76b..7fec96cf0ad 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.13 2008/11/25 20:26:40 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.14 2008/11/25 23:01:00 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -626,7 +626,11 @@ struct smtpd {
};
/* aliases.c */
-int is_alias(struct path *);
+int aliases_exist(struct smtpd *, char *);
+int aliases_get(struct smtpd *, struct aliaseslist *, char *);
+int aliases_virtual_exist(struct smtpd *, struct path *);
+int aliases_virtual_get(struct smtpd *, struct aliaseslist *, struct path *);
+
/* log.c */
void log_init(int);