diff options
author | eric <eric@openbsd.org> | 2014-07-08 13:49:09 +0000 |
---|---|---|
committer | eric <eric@openbsd.org> | 2014-07-08 13:49:09 +0000 |
commit | d6f2ac019abe1f0412218db1e8230b4b835ecbb7 (patch) | |
tree | ac8e9f8f0fac74fa8096c19f0a371adb5107815f /usr.sbin/smtpd/makemap.c | |
parent | This is bootblock code. Don't pull in uvm header files to deal with (diff) | |
download | wireguard-openbsd-d6f2ac019abe1f0412218db1e8230b4b835ecbb7.tar.xz wireguard-openbsd-d6f2ac019abe1f0412218db1e8230b4b835ecbb7.zip |
Update the table API: lookup functions can take an optional parameters
dictionnary (currently not set). While there, add a helper for forking
external backends, and remove unused table functions.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/makemap.c')
-rw-r--r-- | usr.sbin/smtpd/makemap.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/makemap.c b/usr.sbin/smtpd/makemap.c index ad456565afb..250bd89ea44 100644 --- a/usr.sbin/smtpd/makemap.c +++ b/usr.sbin/smtpd/makemap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makemap.c,v 1.48 2013/12/26 17:25:32 eric Exp $ */ +/* $OpenBSD: makemap.c,v 1.49 2014/07/08 13:49:09 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -81,6 +81,12 @@ purge_config(uint8_t what) } int +fork_proc_backend(const char *backend, const char *conf, const char *procname) +{ + return (-1); +} + +int main(int argc, char *argv[]) { struct stat sb; |