diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 08:08:07 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 08:08:07 +0000 |
commit | e9a806e7ea9c8a1c70d0d1de4607ab36742db583 (patch) | |
tree | 35d4527c7ab9be9672647d62f8eb995e76644789 /usr.sbin/smtpd/smtpd.h | |
parent | 3ae5af0380d5d8543758583039db7ad86350a6b8 (diff) |
Make the backend open method return an int to report success.
The implementation is responsible for setting the handle pointer
as needed.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index a3febed00ab..68b710c54e0 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.607 2018/12/26 20:13:43 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.608 2018/12/27 08:08:06 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -365,7 +365,7 @@ struct table_backend { const char *name; const unsigned int services; int (*config)(struct table *); - void *(*open)(struct table *); + int (*open)(struct table *); int (*update)(struct table *); void (*close)(void *); int (*lookup)(void *, enum table_service, const char *, char **); |