- added predict.c, moving the routines from util.c
authorAndrew Tridgell <tridge@samba.org>
Fri, 7 Jun 1996 03:34:22 +0000 (03:34 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 7 Jun 1996 03:34:22 +0000 (03:34 +0000)
commit88b191b48836eeb7937f25b37d0bdd4a2276e5a7
tree029183b29f3787bcbb34b61475bd02ad554d30e0
parent5a0d016b2432da9299d92b33d723534d91c8dcf4
- added predict.c, moving the routines from util.c

- added iface_count() and iface_n_ip() routines so its easy to loop
over the local interface list

- made readsize a normal loadparm global

- check for null w in add_domain_entry()

- set the deathtime to time()-1 for doamin entries with servertype==0
This allows servers that are shutting down to be removed

- add the 0x1c name at startup if we are a WINS server. Previously we
added it only if we were a master

- loop over interfaces in add_my_domains(), so people don't have to
have a lmhosts file to get lp_workgroup() on all interfaces

- set add to True for find_workgroupstruct() in nmbsync, and check for
null return

- remove some ugly "errno = EBADF" bits. they just confused things.
12 files changed:
source/include/proto.h
source/lib/interface.c
source/lib/util.c
source/loadparm.h
source/namedb.c
source/nameelect.c
source/nameserv.c
source/namework.c
source/nmbd/nmbd.c
source/nmbsync.c
source/param/loadparm.c
source/smbd/predict.c [new file with mode: 0644]