aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2018-06-16 21:43:03 +0200
committerGilles Chehade <gilles@poolp.org>2018-06-16 21:43:03 +0200
commit69c7374bcc4eeabcd92ce5842ab49e24c173eeae (patch)
treec1208540616144e8f10122ea2248407aa521c07e /smtpd/smtpd.h
parentsync with openbsd (diff)
downloadOpenSMTPD-69c7374bcc4eeabcd92ce5842ab49e24c173eeae.tar.xz
OpenSMTPD-69c7374bcc4eeabcd92ce5842ab49e24c173eeae.zip
sync with openbsd
Diffstat (limited to 'smtpd/smtpd.h')
-rw-r--r--smtpd/smtpd.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/smtpd/smtpd.h b/smtpd/smtpd.h
index 168975ba..43adf8b4 100644
--- a/smtpd/smtpd.h
+++ b/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.552 2018/06/07 16:28:14 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.553 2018/06/16 19:41:26 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1407,8 +1407,8 @@ struct stat_value *stat_timespec(struct timespec *);
/* table.c */
-struct table *table_find(const char *, const char *);
-struct table *table_create(const char *, const char *, const char *,
+struct table *table_find(struct smtpd *, const char *, const char *);
+struct table *table_create(struct smtpd *, const char *, const char *, const char *,
const char *);
int table_config(struct table *);
int table_open(struct table *);
@@ -1420,14 +1420,14 @@ int table_check_service(struct table *, uint32_t);
int table_lookup(struct table *, struct dict *, const char *, enum table_service,
union lookup *);
int table_fetch(struct table *, struct dict *, enum table_service, union lookup *);
-void table_destroy(struct table *);
+void table_destroy(struct smtpd *, struct table *);
void table_add(struct table *, const char *, const char *);
int table_domain_match(const char *, const char *);
int table_netaddr_match(const char *, const char *);
int table_mailaddr_match(const char *, const char *);
-void table_open_all(void);
-void table_dump_all(void);
-void table_close_all(void);
+void table_open_all(struct smtpd *);
+void table_dump_all(struct smtpd *);
+void table_close_all(struct smtpd *);
int table_parse_lookup(enum table_service, const char *, const char *,
union lookup *);