2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

63 Commits

Author SHA1 Message Date
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
Brian Wellington
b5fff54fe9 SIG records were not properly negatively cached. 2000-04-13 17:01:19 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
David Lawrence
ecb6c5782e exorcized local compression 2000-03-23 05:18:46 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Bob Halley
08af8bf5ad conform to dns_db_addrdataset() API change 2000-01-25 19:30:51 +00:00
Michael Graff
569d094440 An additional coredump avoiding REQUIRE() 1999-11-04 18:45:21 +00:00
Bob Halley
55254a46f9 first try at type 3 negative responses 1999-11-03 03:20:34 +00:00
David Lawrence
c866769e66 more INSISTs for proper range before passing integers to isc_buffer_putuint16 1999-10-17 22:31:03 +00:00
Bob Halley
66b2f0d4bf Test name attributes with DNS_NAMEATTR_NCACHE, not DNS_RDATASETATTR_NCACHE.
Store the 'used' region, not the 'available' region!
Set trust.
1999-10-16 00:47:54 +00:00
Bob Halley
e0df061f35 only ncache marked names and rdatasets 1999-10-15 20:50:19 +00:00
Bob Halley
948eabe2a2 implement _towire() 1999-09-22 00:26:19 +00:00
Bob Halley
4e142a5bcc start of ncache support 1999-09-21 20:41:20 +00:00