diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 09:30:30 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 09:30:30 +0000 |
commit | cf1b10cb877c693dbe5f50eb6bdcc1f7116f0c33 (patch) | |
tree | 3bb197aacc73650970a548b37f3cddf2240b29cf /usr.sbin/smtpd/smtpd.h | |
parent | 2a3dafece0eefdd1c15b2c182308cd37b4edfc34 (diff) |
pass the table pointer to the lookup()/fecth() methods
ok gilles@
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 397427d3957..6f42711ac7d 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.609 2018/12/27 08:57:03 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.610 2018/12/27 09:30:29 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -368,8 +368,8 @@ struct table_backend { int (*open)(struct table *); int (*update)(struct table *); void (*close)(struct table *); - int (*lookup)(void *, enum table_service, const char *, char **); - int (*fetch)(void *, enum table_service, char **); + int (*lookup)(struct table *, enum table_service, const char *, char **); + int (*fetch)(struct table *, enum table_service, char **); }; |