Commit graph

39 commits

Author SHA1 Message Date
Michael Graff
0177adc4f8 don't test dns_name_concatenate(), since all the test did was return UNTESTED. 2000-06-15 19:03:53 +00:00
Michael Sawyer
7236d89919 Fix dns_name_fromwire test 2000-06-09 18:44:30 +00:00
Andreas Gustafsson
ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +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
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +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
114eea8ac3 fixed prototypes and other ISC style issues 2000-05-24 03:30:57 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +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
Andreas Gustafsson
f830ac6764 dns_name_fromwire:5 test expected dns_name_fromwire() to
detect unwanted compression but did not set the 'strict' flag
2000-05-05 17:48:57 +00:00
Bob Halley
4cd67304c5 dns_name_fullcompare/compare contract change 2000-04-28 16:30:55 +00:00
David Lawrence
6b7257f756 include config.h 2000-04-28 02:08:20 +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
Michael Graff
a4e2a43f79 s/DNS_R_/ISC_R_/ as needed 2000-04-07 03:50:33 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
ddfe394c06 need <isc/buffer.h> 2000-04-04 20:10:29 +00:00
David Lawrence
ecb6c5782e exorcized local compression 2000-03-23 05:18:46 +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
William King
b5fd67d43f added test case info to dns_name_getlabel test 1999-10-11 19:03:52 +00:00
William King
a8cd7b78f5 fixed a test 1999-10-10 23:11:06 +00:00
William King
746e7fb32f fixed a test case 1999-10-08 19:04:56 +00:00
William King
43383e3599 fixed expected result of one test 1999-10-08 18:38:55 +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
5f5daed99a updated test target to be compatable with automated build system 1999-09-24 18:35:10 +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
2d4e681f8d data for dns_name_towire test 1999-07-22 15:29:20 +00:00
William King
283a214825 dns_name_towire tests added 1999-07-22 15:28:10 +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
5b643b5d10 eliminate warnings 1999-06-18 22:53:15 +00:00
Bob Halley
44aae046c3 basic test support 1999-05-01 01:41:14 +00:00