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

471 Commits

Author SHA1 Message Date
Andreas Gustafsson
90f9d00f08 declare arguments as UNUSED() when used in assertions only 2000-04-27 23:57:56 +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
Mark Andrews
e8c91210aa Add structure definitions. 2000-04-26 18:27:56 +00:00
Mark Andrews
178f9cf89f fromstruct MUST NOT check mctx 2000-04-26 01:41:58 +00:00
Michael Graff
7ec579cd5d Add functions to check that a type is only or is not allowed in a question section 2000-04-14 20:13:49 +00:00
Michael Graff
6324997211 add attributes (line singleton, exlcusive, meta, etc) to rdata C files, and
build a table of them using gen.c.  This means the names are stored twice,
but that will change in the near future.  This will speed up number to text
conversions for rdatatypes, and I plan on speeding up text->number as
well, soon.
2000-04-07 03:54:52 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
71bd2b06d6 use the UNUSED() macro 2000-03-21 23:48:20 +00:00
Andreas Gustafsson
8e191edd65 don't indent comments by one space 2000-03-20 23:08:50 +00:00
Andreas Gustafsson
a7d3e828eb don't indent comments by one space 2000-03-20 22:57:15 +00:00
Andreas Gustafsson
47830e3a58 don't indent comments by one space 2000-03-20 22:48:59 +00:00
Andreas Gustafsson
41aad56b6c avoid calling variables 'result' if they are not of type isc_result_t 2000-03-20 22:44:36 +00:00
Andreas Gustafsson
a3c9e34301 print the 'other data' in multiline mode if nonempty 2000-03-20 18:40:28 +00:00
David Lawrence
64339caa43 removed unused "result" stack var from digest_afsdb 2000-03-18 01:46:15 +00:00
Michael Graff
f31f0b63cb review code, add UNUSED() where needed, fix a bug made yesterday with RETERR() 2000-03-18 00:19:26 +00:00
Andreas Gustafsson
e6c22f37d8 backed out inappropriate use of RETERR() in
*_compare(); renamed 'result' to 'order' to avoid future confusion
2000-03-17 21:43:46 +00:00
Bob Halley
d10099d866 Code review:
Style updates.
	Correct some comments.
	Printing "other" field now respects multiline mode.
	from/to struct routines now allocate 0 byte memory instead of
	leaving the pointer NULL if keylen or otherlen are 0.
2000-03-17 21:13:02 +00:00
Andreas Gustafsson
66e45550c6 unused variable 2000-03-17 19:20:25 +00:00
Andreas Gustafsson
542deb20c4 in tostruct_sig(), store zero-length signatures as
zero-length isc_mem_get() block, not NULL pointer;
misc. stylistic changes from code review
2000-03-17 17:08:36 +00:00
Andreas Gustafsson
8193e5caa6 code review 2000-03-17 17:07:10 +00:00
Michael Graff
85418c6d45 remove unused locals 2000-03-17 02:19:55 +00:00
Michael Graff
62c1de9d94 review; UNUSED(); minor formatting 2000-03-17 02:11:36 +00:00
Michael Graff
8dd2e6e7c1 formatting, review 2000-03-17 01:22:17 +00:00
Brian Wellington
65debe7629 code review cleanup 2000-03-17 00:15:30 +00:00
James Brister
a4ed9791ed code review changes. 2000-03-16 23:51:09 +00:00
Brian Wellington
8732b497cf formatting changes during code review 2000-03-16 23:40:50 +00:00
Bob Halley
1db2e6b81a rdata code review 2000-03-16 22:42:32 +00:00
Andreas Gustafsson
76e9eb5ba6 document relevant RFC number 2000-03-16 22:42:31 +00:00
Andreas Gustafsson
1c497c6e34 in fromwire_opt, the option field was used as both
option and length; stylistic changes from code review
2000-03-16 22:42:10 +00:00
Michael Graff
940e4ef72b add reviewed, minor formatting changes 2000-03-16 22:07:28 +00:00
Michael Graff
325f2a0960 add reviewed by, and minor formatting nits 2000-03-16 21:58:58 +00:00
Brian Wellington
763340ccb3 Rewrote handling of the NULL record to match RFC 1035 2000-03-16 21:49:42 +00:00
David Lawrence
659c68b446 Reviewed.
use UNUSED() macros.
2000-03-16 02:31:14 +00:00
James Brister
ecd3b66f8c code review changes 2000-03-16 02:23:17 +00:00
Michael Graff
923d996a97 no local, comment NONE or GLOBAL14 2000-03-16 02:20:19 +00:00
Michael Graff
f4b24db598 mostly UNUSED() changes, minor formatting things 2000-03-16 02:18:16 +00:00
Brian Wellington
5fe1a9797c code review 2000-03-16 02:16:16 +00:00
David Lawrence
8cb85014a7 added Reviewed comment 2000-03-16 02:15:52 +00:00
Brian Wellington
c363150ad5 more code review 2000-03-16 02:08:51 +00:00
James Brister
96805adfc9 code review changes 2000-03-16 02:07:06 +00:00
James Brister
ce8b84ce64 more code review changes. 2000-03-16 02:00:37 +00:00
Brian Wellington
c2bb855911 code review 2000-03-16 01:44:08 +00:00
David Lawrence
926234e867 In fromtext_cert:
.	removed strtol which was irrelevant (its results were not checked,
	and dns_cert_fromtext did the real parsing).
      . removed redundant range checking (uint16_tobuffer did the same
	checking.
Use UNUSED() macro.
draft-ietf-dnssec-certs-04.txt -> RFC 2538
2000-03-16 01:43:42 +00:00
James Brister
3b811bd920 code review changes 2000-03-16 01:40:27 +00:00
James Brister
ee7cac1c6e code review changes. 2000-03-16 01:37:14 +00:00
James Brister
4f64d3ae93 code review changes 2000-03-16 01:31:03 +00:00
Brian Wellington
d5c518af63 code review 2000-03-16 01:26:49 +00:00
James Brister
ec04f989ea code review changes 2000-03-16 01:15:36 +00:00
Brian Wellington
d0fe07af9c code review 2000-03-16 00:54:24 +00:00
Michael Graff
f72fbb5d0b formatting changes, and addition of UNUSED() where needed 2000-03-16 00:53:01 +00:00