Commit graph

32 commits

Author SHA1 Message Date
David Lawrence
12a75be8c4 all uses of chains were missing calls to rbt_nodechain_invalidate, so some
memory was not getting freed and the chain tests were failing
2000-06-06 23:21:58 +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
David Lawrence
63ed655d8f "test" target depends on the relevant program being built 2000-06-01 19:09:37 +00:00
David Lawrence
fe56f2116b dns/result.h and dns/compress.h removed from t_api.h 2000-05-24 03:45:00 +00:00
David Lawrence
aae7ae64e7 pruned several unused stack variables 2000-05-24 03:32:02 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
David Lawrence
8e591e2046 "do { ... } while (1)" to shut up HP/UX 2000-05-08 20:07:58 +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
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
08a768e82a Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version. 2000-04-20 18:27:43 +00:00
Bob Halley
41c82f9355 conform to RBT API change 2000-04-19 18:27:24 +00:00
Michael Graff
927d494e07 s/DNS_R_/ISC_R_/ as needed 2000-04-07 03:35:58 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +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
Bob Halley
dd93d455c1 fix tests 1999-10-26 01:53:45 +00:00
Bob Halley
24a182d59f add missing test data 1999-10-26 00:14:46 +00:00
William King
e518a08aa3 fixed octal bitlabel usage problem 1999-10-15 17:08:02 +00:00
William King
be9258d15b fixed exceptions 1999-10-15 17:07:21 +00:00
William King
69f5e6b73b changed dependencies 1999-10-07 21:12:54 +00:00
William King
02cae3f325 added -b option 1999-10-07 14:36:45 +00:00
David Lawrence
d7f6fcf0f1 libt_api.a depends on libisc.a for isc_commandline_parse 1999-10-06 20:12:00 +00:00
Bob Halley
51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
David Lawrence
fd35453765 use AR, ARFLAGS, O and A macros 1999-09-30 20:10:31 +00:00
William King
1a1999555d updated test target to be compatable with automated build/test system 1999-09-24 18:37:24 +00:00
Michael Graff
5f0e2c8913 update copyright text 1999-09-16 00:02:20 +00:00
James Brister
9f27447cae Fix includes for when buildtree != sourcetree 1999-09-09 22:24:34 +00:00
William King
e29e7a7e7e data for rbtnodechain regression tests initial commit 1999-07-22 15:34:35 +00:00
William King
23768c88a7 added regression tests for:
dns_rbtnodechain_init
	dns_rbtnodechain_first
	dns_rbtnodechain_last
	dns_rbtnodechain_prev
	dns_rbtnodechain_next
1999-07-22 15:31:37 +00:00
Bob Halley
56b40c0185 depend support 1999-07-13 21:56:59 +00:00
Bob Halley
64e41159a9 shared library support 1999-07-03 21:07:10 +00:00
Bob Halley
44aae046c3 basic test support 1999-05-01 01:41:14 +00:00