diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-01-03 20:03:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:41 -0500 |
commit | a417674925b745d44da536d9d69e907afa4a0f88 (patch) | |
tree | 688e623421f967972071c625d574422d280b0684 /source4/nbt_server/wins/winsserver.h | |
parent | 34be0772d2a24c3836cfe7a335184ba2d8902e81 (diff) | |
download | samba-a417674925b745d44da536d9d69e907afa4a0f88.tar.gz samba-a417674925b745d44da536d9d69e907afa4a0f88.tar.xz samba-a417674925b745d44da536d9d69e907afa4a0f88.zip |
r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
so that it gets replicated to the old owning wins server directly
metze
(This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)
Diffstat (limited to 'source4/nbt_server/wins/winsserver.h')
-rw-r--r-- | source4/nbt_server/wins/winsserver.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.h b/source4/nbt_server/wins/winsserver.h index 0ac40e75017..aae2e3dfbc3 100644 --- a/source4/nbt_server/wins/winsserver.h +++ b/source4/nbt_server/wins/winsserver.h @@ -20,6 +20,35 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +struct wins_server { + /* wins server database handle */ + struct winsdb_handle *wins_db; + + /* some configuration */ + struct { + /* + * the interval (in secs) till an active record will be marked as RELEASED + */ + uint32_t min_renew_interval; + uint32_t max_renew_interval; + + /* + * the interval (in secs) a record remains in RELEASED state, + * before it will be marked as TOMBSTONE + * (also known as extinction interval) + */ + uint32_t tombstone_interval; + + /* + * the interval (in secs) a record remains in TOMBSTONE state, + * before it will be removed from the database. + * See also 'tombstone_extra_timeout'. + * (also known as extinction timeout) + */ + uint32_t tombstone_timeout; + } config; +}; + struct wins_challenge_io { struct { struct nbtd_server *nbtd_server; |