Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Wietse Venema (wietseporcupine.org)
Date: Tue Dec 04 2007 - 14:19:35 CST
> The proxy client should now (with dict->clnt initialized correcty) be
> complete, and the service also supports "delete", the only thing missing
> is "postmap -d" support for "proxy:" tables. Tested, works as expected.
As I found earlier today when I tested the delete support.
> This will create a table (if on proxy_write_maps) if necessary and then
> delete from it, so deletion has the side-effect of creating an empty
> table, but this is fine I think.
> map_name = split_at(maps[n], ':');
> if (map_name && strcmp(maps[n], DICT_TYPE_PROXY) == 0)
> ! mode |= O_CREAT;
> dicts[n] = (map_name != 0 ?
> ! dict_open3(maps[n], map_name, mode, dict_flags) :
> ! dict_open3(var_db_type, maps[n], mode, dict_flags));
This will open non-proxy maps with O_CREAT mode. I'll upload
a snapshot later today.