Commit graph

1154 commits

Author SHA1 Message Date
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
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
89e7b5009b added dns_zone_gettype() and dns_zone_gettask() 1999-09-23 06:42:10 +00:00
Michael Graff
ad3a5c4b7e Start flushing out the address.c stuff 1999-09-23 00:43:10 +00:00
James Brister
d793dbd1b5 Config file view structures and their routines. 1999-09-22 21:20:10 +00:00
Bob Halley
7252b0d05c dns_resolver_create(): remove rdclass, add view 1999-09-22 19:45:09 +00:00
Bob Halley
c56c5586b4 add dns_view_find(); add comments 1999-09-22 19:35:47 +00:00
Bob Halley
4e16d0eaff detach from dbs when freeing the table 1999-09-22 18:24:05 +00:00
Bob Halley
19f08273e2 api changes expected to be helpful when reconfiguring 1999-09-22 18:23:36 +00:00
Michael Graff
213973a334 adjust what points to what. You are lost in a maze of twisty little pointers,
all alike.
1999-09-22 01:01:14 +00:00
Bob Halley
cae6ddd340 add isc_buffer_copyregion 1999-09-22 00:35:59 +00:00
Bob Halley
152303bce0 update comment 1999-09-22 00:27:20 +00:00
Bob Halley
42e339f588 add function prototypes 1999-09-22 00:27:01 +00:00
Bob Halley
8dfa9caeec handle negative cache rdatasets in _towire() 1999-09-22 00:26:40 +00:00
Michael Graff
11fcc67616 snapshot address.[ch] 1999-09-22 00:26:20 +00:00
Bob Halley
948eabe2a2 implement _towire() 1999-09-22 00:26:19 +00:00
Michael Graff
66bd3b3c6b Start on address.c 1999-09-21 22:46:42 +00:00
Michael Graff
9ec7000a15 Protect magic numbers and validity checks by putting them in our name space.
(Prefixed with DNS_)
1999-09-21 22:45:24 +00:00
Bob Halley
4e142a5bcc start of ncache support 1999-09-21 20:41:20 +00:00
Bob Halley
7837d14621 add dns_rdataset_count() 1999-09-21 20:40:42 +00:00
Bob Halley
e9d51ec4ab zones do not have resolvers 1999-09-21 20:03:03 +00:00
Bob Halley
e5c243997c Make a6 follower restartable. 1999-09-17 21:51:22 +00:00
James Brister
7c337a9ca9 IPv6 fixes.
Removed config specific address type and replced with isc_sockaddr_t
1999-09-17 14:22:06 +00:00
Mark Andrews
a86ce0b97d Adjust function dns_zt_*() names to remove _zone, lookup -> find.
Add thread support.
1999-09-17 10:00:14 +00:00
Andreas Gustafsson
3ddd92da66 improved support for mnemonics in DNSSEC RR types 1999-09-17 09:25:21 +00:00
Michael Graff
5f0e2c8913 update copyright text 1999-09-16 00:02:20 +00:00
Michael Graff
09b91abda4 Update copyright text 1999-09-15 23:49:29 +00:00
Michael Graff
0ed6a92981 clean up print.h in make distclean step 1999-09-15 23:15:57 +00:00
Michael Graff
2f072c2982 Update copyrights 1999-09-15 23:03:43 +00:00
Michael Graff
2808b5a3ef reserve events for address.[ch] 1999-09-15 21:15:44 +00:00
Michael Graff
2a80dff9f2 no rcsid, thanks 1999-09-15 21:15:18 +00:00
Michael Graff
484e0cac08 Commit address.h -- soon to be the Address DataBase. 1999-09-15 21:14:59 +00:00
Bob Halley
96ad75f520 rename functions to avoid conflict with clone() on linux 1999-09-15 19:12:24 +00:00
Michael Graff
c9ea380175 include the right directories on -I lines 1999-09-15 17:47:27 +00:00
Michael Graff
50dfb7ee4a implement mempool locking 1999-09-15 17:47:08 +00:00
Mark Andrews
263f8b87e9 Initial implementation.
*not* yet thread safe.
1999-09-15 15:11:42 +00:00
Michael Graff
7153a32ae9 memory leak fix 1999-09-14 23:48:27 +00:00
Bob Halley
e64e605ed6 bind_rdataset() was not setting the trust field 1999-09-14 20:05:16 +00:00
Mark Andrews
0da4fbb842 added print.h 1999-09-14 04:32:26 +00:00
Mark Andrews
1468e4fb6e Now print.c 1999-09-14 04:31:11 +00:00
Mark Andrews
34884bf789 #ifdef protect long doubles 1999-09-14 04:27:11 +00:00
Mark Andrews
cba05509f3 Add #include <isc/print.h>
dns_zone_log_error -> dns_zone_logerror
1999-09-14 03:07:07 +00:00
Mark Andrews
b1f833cea5 Allow isc/print.h to be included multiple times.
cvs: ----------------------------------------------------------------------
1999-09-14 02:40:49 +00:00
Mark Andrews
cd71050434 ISC versions of vsnprint and snprintf. 1999-09-14 02:07:03 +00:00
Michael Graff
aca2a14afc Implement MSG_TRUNC faking for UDP, on systems where recvmsg() doesn't set that
flag for us.  To see if a UDP packet was truncated, look at
done_event->attributes and see if ISC_SOCKEVENTATTR_TRUNC is set.
1999-09-13 22:00:28 +00:00