From 5257693496ea430263958a16b81b6df4043b1797 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 23 Nov 2005 11:34:46 +0000 Subject: r11877: - give winsdb_add/modify/delete() ldb_context as first argument and add a flags argument to add and modify,the current flags are: WINSDB_FLAG_ALLOC_VERSION to allocate a new version id for the record WINSDB_FLAG_TAKE_OWNERSHIP to take the become the wins owner of the record - fix handling of records with no addresses, this is valid for MHOMED and SGROUP records when they're not in ACTIVE state metze (This used to be commit 0ffea2a7b898b1807e4cdcfbbeba9bd0c6792231) --- source4/nbt_server/wins/winsdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/nbt_server/wins/winsdb.h') diff --git a/source4/nbt_server/wins/winsdb.h b/source4/nbt_server/wins/winsdb.h index d93d50bdf7..8661baa3dc 100644 --- a/source4/nbt_server/wins/winsdb.h +++ b/source4/nbt_server/wins/winsdb.h @@ -23,6 +23,9 @@ #define WINSDB_OWNER_LOCAL "0.0.0.0" #define WINSDB_GROUP_ADDRESS "255.255.255.255" +#define WINSDB_FLAG_ALLOC_VERSION (1<<0) +#define WINSDB_FLAG_TAKE_OWNERSHIP (1<<1) + struct winsdb_addr { const char *address; const char *wins_owner; -- cgit