diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-26 20:13:44 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-26 20:13:44 +0000 |
commit | 21b4570b87638cbe37af868c56c05dae6c3dcb6b (patch) | |
tree | d6a48621b3401cab5bd8a508309cbdab46483b28 /usr.sbin/smtpd/smtpd.h | |
parent | 9256dcad5df335321a0caf34c2a044cca039dcca (diff) |
reorder parameters for consistency
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index b57f3812c79..a3febed00ab 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.606 2018/12/26 15:55:09 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.607 2018/12/26 20:13:43 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -368,7 +368,7 @@ struct table_backend { void *(*open)(struct table *); int (*update)(struct table *); void (*close)(void *); - int (*lookup)(void *, const char *, enum table_service, char **); + int (*lookup)(void *, enum table_service, const char *, char **); int (*fetch)(void *, enum table_service, char **); }; @@ -1605,7 +1605,7 @@ int table_check_use(struct table *, uint32_t, uint32_t); int table_check_type(struct table *, uint32_t); int table_check_service(struct table *, uint32_t); int table_match(struct table *, enum table_service, const char *); -int table_lookup(struct table *, const char *, enum table_service, +int table_lookup(struct table *, enum table_service, const char *, union lookup *); int table_fetch(struct table *, enum table_service, union lookup *); void table_destroy(struct smtpd *, struct table *); |