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

51 Commits

Author SHA1 Message Date
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
1b6d529cb5 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
Brian Wellington
60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Brian Wellington
7df0472d8a Added isc/util.h 2000-04-28 02:12:16 +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
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
c85cd83147 TSIGs don't need to be explicitly rendered 2000-03-29 05:04:45 +00:00
Andreas Gustafsson
5d097eee54 accept # comments in wire data input files 2000-03-16 01:09:13 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Andreas Gustafsson
8dec0e1a3e dns_message_parse now takes new argument 'preserve_order' 1999-08-20 06:09:46 +00:00
Bob Halley
71d8c33fef dns_message_create() API change 1999-07-24 00:55:35 +00:00
Michael Graff
ce04ac2008 clean up 1999-07-09 17:45:06 +00:00
Michael Graff
7cde036518 move printmessage() into its own file, and link it in where needed. 1999-07-09 17:23:54 +00:00
Michael Graff
a796a22063 output nit 1999-05-21 00:47:49 +00:00
Michael Graff
97e7d389d5 Clean up after code review 1999-05-14 17:52:11 +00:00
Michael Graff
afe7967b83 initialize variables 1999-05-12 19:47:43 +00:00
Michael Graff
2726950412 parse dynamic updates, and tsig's right 1999-05-12 19:32:13 +00:00
Bob Halley
9104e9a3e2 lint 1999-05-03 19:57:33 +00:00
Michael Graff
b02262cbcd Fix up the condition where buffers are expended 1999-05-01 17:18:47 +00:00
Michael Graff
823e45c127 checkpoint 1999-04-30 22:35:49 +00:00
Michael Graff
ddd035637d snapshot 1999-04-30 21:52:40 +00:00
Michael Graff
8d6024e7cf Move the flags on dns_rdataset_totext() to be together, and make a
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
e690d225ad Make named compile, and start on using message code. This isn't done yet. 1999-04-30 05:42:06 +00:00
Michael Graff
fccf7905e8 snapshot working message parsing 1999-04-30 00:17:15 +00:00
Bob Halley
904a573437 C++ compatibility 1999-03-04 02:48:47 +00:00
Mark Andrews
1ef8965366 Add decompression. 1999-02-24 06:31:35 +00:00
Mark Andrews
b5819ca3eb dns_name_fromwire() should have been using up to the end of the
active region, not the end of the remaining region.

	bin/named/wire_debug.c bin/tests/wire_test.c adjusted for above
	change.

	dns_name_fromwire() was not computing nrem and nused correctly
	for bitstream labels.
1999-02-15 23:59:36 +00:00
Michael Graff
882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Bob Halley
5a5eec9601 remove ANY hack 1999-01-25 21:41:52 +00:00
Bob Halley
3b1da4f989 print type and class as text instead of as numbers 1999-01-20 07:49:50 +00:00
Bob Halley
c850b56ee0 lint 1999-01-20 02:46:19 +00:00
Bob Halley
2d9007c942 working rdata decoding 1999-01-20 02:43:23 +00:00
Michael Graff
14b50c163e cleanup, remove warnings 1999-01-19 19:50:10 +00:00
Michael Graff
f8c2070073 make quick changes to steal code from Bob's wire_test 1999-01-19 06:35:54 +00:00
Bob Halley
74bc3f2a36 optional use of initial whitespace 1999-01-15 20:02:22 +00:00
Bob Halley
51ae92e447 use dns_rdataset_totext 1999-01-15 19:36:33 +00:00
Bob Halley
a70536420c add getmessage 1999-01-15 08:04:27 +00:00
Bob Halley
841988cf57 rdatalist is now in its own .h file 1999-01-15 03:30:36 +00:00
Bob Halley
a4e4169138 minor output fix 1999-01-13 19:58:40 +00:00
Bob Halley
2925c2bfb3 eliminate whitespace from input 1999-01-13 19:57:13 +00:00
Bob Halley
25657e31a3 checkpoint 1999-01-13 19:50:05 +00:00
Bob Halley
8198371caa checkpoint 1999-01-13 19:11:26 +00:00
Bob Halley
e5a56e1fd5 must init name now 1999-01-09 00:41:55 +00:00
Bob Halley
514a93f41f offsets are now optional 1999-01-09 00:34:18 +00:00
Bob Halley
b05c81bffc convert to isc_buffer_getuint16 1999-01-07 02:08:05 +00:00
Bob Halley
468ff4555b add decompression context 1999-01-06 20:05:09 +00:00