From a9f66ffef11f46a61dc8f5ee706eac4ff04e6ce0 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Fri, 7 Aug 2009 19:02:56 +0000 Subject: wrap auth_userokay in a new function authenticate_user() and make sure that only authenticate.c knows about bsd_auth, no functionnal change. --- usr.sbin/smtpd/smtpd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd/smtpd.h') diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 43d9a55495f..aac0017a85d 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.134 2009/08/06 16:46:57 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.135 2009/08/07 19:02:55 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -741,6 +741,9 @@ int aliases_virtual_exist(struct smtpd *, struct path *); int aliases_virtual_get(struct smtpd *, struct aliaseslist *, struct path *); int alias_parse(struct alias *, char *); +/* authenticate.c */ +int authenticate_user(char *, char *); + /* bounce.c */ void bounce_process(struct smtpd *, struct message *); int bounce_session(struct smtpd *, int, struct message *); -- cgit v1.2.3