summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2018-12-26 15:55:10 +0000
committerEric Faurot <eric@cvs.openbsd.org>2018-12-26 15:55:10 +0000
commite354dc1750d5e909fcfeb1819c3368790bd4aec4 (patch)
tree1bdbf6f8ce36cfc6f8f983d1e673b041b546c812 /usr.sbin/smtpd/smtpd.h
parente12d3163209e0951eeb7d3174dcf45e369092016 (diff)
introduce a table_match() function to check for a key in a table
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 6c1bdbbe0a5..b57f3812c79 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.605 2018/12/26 14:15:12 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.606 2018/12/26 15:55:09 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1604,6 +1604,7 @@ void table_close(struct table *);
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,
union lookup *);
int table_fetch(struct table *, enum table_service, union lookup *);