diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 14:23:42 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-27 14:23:42 +0000 |
commit | a46ec2d510a2c77d8a34666b845301c943834306 (patch) | |
tree | 8e61915eff502ad3029c43b7c17c38c51d7af1cc /usr.sbin/smtpd/table_db.c | |
parent | b9fec97a41074a52b327d0a6e89f37224e0ca145 (diff) |
introduce dump() and add() table methods, only implemented for static tables.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/table_db.c')
-rw-r--r-- | usr.sbin/smtpd/table_db.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/table_db.c b/usr.sbin/smtpd/table_db.c index 9e71d1c30d3..add5dc0fd1a 100644 --- a/usr.sbin/smtpd/table_db.c +++ b/usr.sbin/smtpd/table_db.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table_db.c,v 1.17 2018/12/27 09:30:29 eric Exp $ */ +/* $OpenBSD: table_db.c,v 1.18 2018/12/27 14:23:41 eric Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@poolp.org> @@ -57,6 +57,8 @@ struct table_backend table_backend_db = { "db", K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME|K_MAILADDRMAP, table_db_config, + NULL, + NULL, table_db_open, table_db_update, table_db_close, |