diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-11-23 11:34:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:39 -0500 |
commit | 5257693496ea430263958a16b81b6df4043b1797 (patch) | |
tree | 1de4294681570d9d251e13e6b05627d326d325da /source4/nbt_server/wins/winsdb.h | |
parent | 4725c3a83d0ba72a0a764710a9810e49ac18436d (diff) | |
download | samba-5257693496ea430263958a16b81b6df4043b1797.tar.gz samba-5257693496ea430263958a16b81b6df4043b1797.tar.bz2 samba-5257693496ea430263958a16b81b6df4043b1797.zip |
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)
Diffstat (limited to 'source4/nbt_server/wins/winsdb.h')
-rw-r--r-- | source4/nbt_server/wins/winsdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |