From 045014aa57721b9701ca379bcab055b908773184 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Jun 1996 15:14:47 +0000 Subject: Did more integration of Lukes code ready for the first release. I've now got WINS registration working, and refresh working. Its looking pretty good so far, but needs lots of testing. --- source/include/nameserv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/include/nameserv.h') diff --git a/source/include/nameserv.h b/source/include/nameserv.h index 81079fabe01..51f5ec8479e 100644 --- a/source/include/nameserv.h +++ b/source/include/nameserv.h @@ -20,6 +20,10 @@ */ +/* NTAS uses 2, NT uses 1, WfWg uses 0 */ +#define MAINTAIN_LIST 2 +#define ELECTION_VERSION 2 + #define MAX_DGRAM_SIZE (80*18+64) #define MIN_DGRAM_SIZE 12 @@ -39,6 +43,8 @@ #define NB__FLAG 0x60 #define NB_FLGMSK 0x60 +#define REFRESH_TIME (15*60) + #define NAME_PERMANENT(p) ((p) & NB_PERM) #define NAME_ACTIVE(p) ((p) & NB_ACTIVE) #define NAME_CONFLICT(p) ((p) & NB_CONFL) -- cgit