Commit Graph
1960 Commits
Author SHA1 Message Date
Andreas Gustafsson c9373cc535 checkpoint: call validator for negative responses 2000-05-02 18:10:19 +00:00
James Brister 36357e4304 Changed yacc union size to be smaller for yaccs that put yacc-stack
on the real stack.
2000-05-02 17:56:39 +00:00
Michael Graff f6407f9a0b add print.h and string.h to files that need them 2000-05-02 16:36:22 +00:00
Mark Andrews 2002be4f65 Add name_duporclone() and mem_maybedup(). 2000-05-02 05:19:47 +00:00
David Lawrence 09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
David Lawrence a1f16c81a1 removed unused stack variable "result" from totext_nxt 2000-05-01 18:27:43 +00:00
David Lawrence 7f1c97f582 include <isc/boolean.h> for ISC_TF() 2000-05-01 18:07:08 +00:00
David Lawrence b09983678f 145. [cleanup] Added <isc/lang.h> and ISC_LANG_BEGINDECLS/
ISC_LANG_ENDDECLS to header files that had function
                        prototypes, and removed it from those that did not.
2000-05-01 17:59:10 +00:00
Michael Graff d086365f39 undo the dnssec renaming. 2000-04-29 18:57:17 +00:00
David Lawrence 4be63b1fd8 144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion
                        protection.
2000-04-29 02:02:38 +00:00
Andreas Gustafsson 5436ac5553 cope with dns_rdatatype_totext() succeeding for
unknown RR types
2000-04-29 01:51:39 +00:00
Andreas Gustafsson 014892d86d added dns_rdatatype_isknown() 2000-04-29 01:49:37 +00:00
Michael Graff 20c266cbc9 add dispatcher logging functions 2000-04-29 00:45:26 +00:00
Andreas Gustafsson 97f75286ad corrupted requests with multiple questions could
cause assertion failure (fix from Bob)
2000-04-28 23:48:49 +00:00
David Lawrence b77f76be2d Where the methods field of an rdataset was compared to NULL, now use
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +00:00
Mark Andrews efd55ce62e Add mctx comment for tostruct. 2000-04-28 23:18:01 +00:00
Andreas Gustafsson 4331ce6a17 warn about ignored out-of-zone data 2000-04-28 23:15:24 +00:00
David Lawrence 358628c8f4 138. [cleanup] isc_strtouq moved from str.[ch] to string.[ch] and
renamed isc_string_touint64.  isc_strsep moved from
                        strsep.c to string.c and renamed isc_string_separate.
2000-04-28 22:40:10 +00:00
Mark Andrews 390b2077fc Added REQUIRE's 2000-04-28 22:07:29 +00:00
Mark Andrews b186f1ab91 Add structure definitions so they can be documented.
Support functions to follow soon.
2000-04-28 21:49:03 +00:00
Mark Andrews 37cf280f49 port is no longer used 2000-04-28 17:50:56 +00:00
Mark Andrews 598b67856b dns_zone_{set,get}masterport() is gone. 2000-04-28 17:18:23 +00:00
Bob Halley 80cff01698 rdata.h 2000-04-28 16:29:58 +00:00
Bob Halley 3ae5393d7e Update contract of dns_name_rdatacompare to return < 0, 0, > 0 instead of
-1, 0, 1.
2000-04-28 16:29:48 +00:00
David Lawrence 32eddfc189 120. [cleanup] <isc/socket.h> does not need <isc/boolean.h>,
<isc/bufferlist.h>, <isc/task.h>, <isc/mem.h> or
                        <isc/net.h>.
2000-04-28 03:53:48 +00:00
Mark Andrews b8dd48ecf8 119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
David Lawrence 6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Bob Halley 2d3c2c9911 YACC namespace protection for most platforms 2000-04-28 02:05:07 +00:00
Andreas Gustafsson 82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
Michael Graff 68e4926b22 namespace changes -- on NetBSD at least, libdns.a is now clean (excepting yy* symbols) 2000-04-28 01:15:58 +00:00
Bob Halley 364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Bob Halley 82a1986c04 include isc/util.h; LOCK to LOCKNUM 2000-04-28 01:08:52 +00:00
Mark Andrews 6c7e680943 115. [cleanup] libdns.a changes:
dns_zone_clearnotify() and dns_zone_addnotify()
                        are replaced by dns_zone_setnotifyalso().
                        dns_zone_clearmasters() and dns_zone_addmaster()
                        are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +00:00
David Lawrence 61e9c1cdbe 116. [func] Added <isc/offset.h> for isc_offset_t 2000-04-28 00:36:56 +00:00
Andreas Gustafsson 90f9d00f08 declare arguments as UNUSED() when used in assertions only 2000-04-27 23:57:56 +00:00
David Lawrence b3e7753518 108. [cleanup] DNS_SETBIT/DNS_GETBIT/DNS_CLEARBIT moved from
<dns/types.h> to <dns/bit.h> and renamed to
                        DNS_BIT_SET/DNS_BIT_GET/DNS_BIT_CLEAR.
2000-04-27 22:26:50 +00:00
Bob Halley 89b117b756 performance improvements 2000-04-27 21:46:31 +00:00
Bob Halley bcaf544581 add macros 2000-04-27 21:45:46 +00:00
Brian Wellington 48e27f529d Conform to the dns_dnssec_verify api change and fix an nxt processing crash 2000-04-27 18:14:11 +00:00
Brian Wellington 9e842bb2d3 Allow dnssec verifications to ignore the validity period. 2000-04-27 18:09:10 +00:00
Michael Graff 1911100e64 add comments about 'RETAIN' 2000-04-27 01:47:38 +00:00
Andreas Gustafsson d11241a247 make good use of isc_buffer_remaininglength() 2000-04-27 00:24:21 +00:00
Andreas Gustafsson fa04a194fb return value from dns_rdataset_first() was ignored;
added more comments and logging to nxtvalidate()
2000-04-27 00:15:16 +00:00
David Lawrence a231769eaa Made compress_add and compress_find static to lib/dns/compress.c 2000-04-27 00:08:44 +00:00
David Lawrence 6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Bob Halley ace0c1b3f4 performance tweaks 2000-04-26 23:22:53 +00:00
Bob Halley 048f38385e change contract for value of order 2000-04-26 23:12:57 +00:00
Bob Halley 7525fa78c0 add XXXRTH comment about sending to ourselves 2000-04-26 19:25:01 +00:00
Michael Graff 95f908eb79 more bug fixes in generation of rdatatype_fromtext() processing 2000-04-26 18:30:04 +00:00
Mark Andrews e8c91210aa Add structure definitions. 2000-04-26 18:27:56 +00:00