summaryrefslogtreecommitdiff
path: root/source4/nbt_server/winsdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nbt_server/winsdb.h')
-rw-r--r--source4/nbt_server/winsdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/nbt_server/winsdb.h b/source4/nbt_server/winsdb.h
index 0774757ef9..6d395461c6 100644
--- a/source4/nbt_server/winsdb.h
+++ b/source4/nbt_server/winsdb.h
@@ -35,6 +35,7 @@ struct winsdb_record {
time_t expire_time;
const char *registered_by;
const char **addresses;
+ uint64_t version;
};
struct wins_server {
@@ -43,4 +44,9 @@ struct wins_server {
uint32_t min_ttl;
uint32_t max_ttl;
+
+ /* these are the minimum and maximum record version IDs in the
+ database. They are needed for replication */
+ uint64_t min_version;
+ uint64_t max_version;
};