2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00
Commit Graph

2031 Commits

Author SHA1 Message Date
David Lawrence
067c6ae66b + lib/isc/win32/stdtime.c, lib/isc/win32/include/isc/stdtime.h 1999-09-25 22:37:06 +00:00
Michael Graff
50b5857f1a update a comment. 1999-09-25 02:44:40 +00:00
Michael Graff
3c5148c4d9 add dns_adb_refresh() 1999-09-25 01:56:10 +00:00
Michael Graff
519b4a1a27 clean up public vs. private items 1999-09-25 01:44:41 +00:00
Michael Graff
31fab17bcd use isc/magic.h, and (unfortunately) export dns_adbhandle_t's definition 1999-09-25 01:25:46 +00:00
Michael Graff
0468b44003 use isc/magic.h 1999-09-25 01:25:06 +00:00
Michael Graff
5d9d8d114f Add magic.h, which should eventually contain all isc magic numbers, perhaps
macros to validate structures using them, and perhaps a do-all function
which can be used by debugging code to identify a structure and print
the contents by calling the correct dump function.
1999-09-25 01:23:39 +00:00
Bob Halley
d164942128 add 1999-09-25 00:51:32 +00:00
Michael Graff
3024dbecba use isc_mutexblock_init/destroy() 1999-09-24 23:54:42 +00:00
Michael Graff
fb6b65a005 I just can't win today. Remove redundant 'block' from function names. 1999-09-24 23:47:21 +00:00
Michael Graff
783e10df2c mutexblock, not just mutex. Duh. 1999-09-24 23:32:14 +00:00
Michael Graff
c0b16ed865 add mutexblock.c 1999-09-24 23:26:40 +00:00
Michael Graff
9c91aa2641 add a function to initialize a block of mutexes, and to destroy them. 1999-09-24 23:26:23 +00:00
Michael Graff
e141888b93 protect with <isc/lang.h> and ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS 1999-09-24 23:24:51 +00:00
William King
1a1999555d updated test target to be compatable with automated build/test system 1999-09-24 18:37:24 +00:00
William King
5f5daed99a updated test target to be compatable with automated build system 1999-09-24 18:35:10 +00:00
Andreas Gustafsson
71b4bbe284 added dns_zone_getorigin(), dns_zone_getdatabase(),
dns_zone_getixfrlog()
1999-09-24 05:57:54 +00:00
Bob Halley
c2478f3e43 ifdef out broken resolver calls 1999-09-24 04:03:42 +00:00
Bob Halley
23914a131b avoid resolver problems 1999-09-24 03:01:10 +00:00
Bob Halley
95ffe09c95 add default root nameserver support 1999-09-24 01:43:02 +00:00
Bob Halley
92583b722b rootns support 1999-09-24 01:42:22 +00:00
Bob Halley
3898056837 hints support 1999-09-24 01:40:50 +00:00
Bob Halley
d14b749789 add DNS_R_HINT 1999-09-24 01:40:15 +00:00
Bob Halley
3c5c6fc345 ISC_R_TASKDONE and ISC_R_TASKNOSEND are not relevant anymore 1999-09-24 01:39:56 +00:00
Bob Halley
12e425fa79 add rootns.[ch] 1999-09-24 01:39:11 +00:00
Bob Halley
1c6161504c include unistd.h to get getopt 1999-09-23 23:56:35 +00:00
Bob Halley
ea95ea0674 missed a few things 1999-09-23 23:55:33 +00:00
Bob Halley
c583a85db0 disable code that uses the resolver 1999-09-23 23:17:21 +00:00
Brian Wellington
bf5582ad4b First cut at 'real' signer. Not tested too much yet. 1999-09-23 22:25:35 +00:00
Brian Wellington
9e6de65c57 removed an extraneous character at the start of the file 1999-09-23 21:58:03 +00:00
David Lawrence
1c333c1415 Not all dirents have d_namlen.
include stdlib.h to define NULL; BSD/OS managed to define it in
one of the other files already included, but that was not portable.

Thanks for pointing these issues out for Linux, Brian.
1999-09-23 21:35:19 +00:00
Bob Halley
271d5bfc5c conforming changes for task API simplification 1999-09-23 21:31:03 +00:00
Bob Halley
3bff571ab2 Simply task API:
Tasks now terminate when

		Any shutdown events have been posted

		There are no references

		The event queue is empty

	If a task has no references and the event queue
	is empty, then a shutdown will be triggered if
	it hasn't been already.

	allowdone and allowsend are gone

	sending events can no longer fail
1999-09-23 21:30:26 +00:00
Brian Wellington
0bee410bb2 infinite loop on failure in dns_dnssec_findzonekeys 1999-09-23 20:56:59 +00:00
Brian Wellington
c425c6b3a6 Added dst_key_isprivate, added a few new result codes 1999-09-23 20:54:38 +00:00
David Lawrence
bdec0dc85e win32 interface for isc_stdtime_get 1999-09-23 18:34:27 +00:00
David Lawrence
e904ee6c52 Include process.h for _beginthreadex prototype. 1999-09-23 18:26:12 +00:00
David Lawrence
3bc89b0c05 added ./bin/tests/log_test.c, ./lib/dns/include/dns/log.h, ./lib/dns/log.c,
./lib/isc/include/isc/log.h, ./lib/isc/log.c,
./lib/isc/win32/include/isc/once.h, ./lib/isc/win32/once.c
1999-09-23 18:16:11 +00:00
David Lawrence
cb73e2bfac isc_once_do() for NT. Two different methods were coded and one
should be decided on; it is kind of a toss-up to me personally.
One method is slightly more complicated but the other uses a spin lock.
See once.c for details.
1999-09-23 18:14:16 +00:00
David Lawrence
05d763d642 Fixed prototype for isc_condition_waituntil.
Fixed calls to isc_time_now and isc_time_millidiff.
1999-09-23 18:06:47 +00:00
David Lawrence
d5069ac954 Fixed function prototypes to match unix/include/isc/time.h protos.
Wrote isc_time_nowplusinterval, a new function added to unix/time.c.

Made some LARGE_INTEGERS to be ULARGE_INTEGERS to ameliorate any
possible hint of a signed vs unsigned problem, even though it would
not happen for 28,847 more years from now.

Assert t1 and t2 not NULL in isc_time_millidiff.
1999-09-23 18:03:39 +00:00
David Lawrence
c910282c40 Shut up MSVC++ compiler warning about loss of precision when assigning
8 bits masked out of a 32 bit int to individual bytes.
1999-09-23 17:54:57 +00:00
David Lawrence
df1e2d496e Shut up a signed/unsigned compiler warning from MSVC++ by converting
newlength and oldlength from signed to unsigned in join_nodes().

Use dns_name_clone for minor efficiency gain in dns_rbt_addnode.

Use fixed names in dns_rbt_findnode() for minor efficiency gain.
1999-09-23 17:53:03 +00:00
David Lawrence
31b2823833 ignore log_test 1999-09-23 17:47:03 +00:00
David Lawrence
6ad14a42e1 logging system design 1999-09-23 17:44:07 +00:00
David Lawrence
fc80027fb5 logging interface & test program. not yet NT portable because of syslog. 1999-09-23 17:43:51 +00:00
David Lawrence
49e558760e directory scanning API for unix/nt portability 1999-09-23 17:31:59 +00:00
Andreas Gustafsson
55243e5263 moved dns_zone_t typedef to <dns/types.h> 1999-09-23 10:45:06 +00:00
Andreas Gustafsson
22a33c32fc xfrin_test() is going away 1999-09-23 06:47:28 +00:00
Andreas Gustafsson
89e7b5009b added dns_zone_gettype() and dns_zone_gettask() 1999-09-23 06:42:10 +00:00