2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

4372 Commits

Author SHA1 Message Date
Andreas Gustafsson
d11241a247 make good use of isc_buffer_remaininglength() 2000-04-27 00:24:21 +00:00
Andreas Gustafsson
fa04a194fb return value from dns_rdataset_first() was ignored;
added more comments and logging to nxtvalidate()
2000-04-27 00:15:16 +00:00
David Lawrence
a231769eaa Made compress_add and compress_find static to lib/dns/compress.c 2000-04-27 00:08:44 +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
Bob Halley
ace0c1b3f4 performance tweaks 2000-04-26 23:22:53 +00:00
Bob Halley
048f38385e change contract for value of order 2000-04-26 23:12:57 +00:00
David Lawrence
14dd2c028a dig/host do not need omapi 2000-04-26 22:56:18 +00:00
Michael Sawyer
9814f5f963 Add host 2000-04-26 22:55:53 +00:00
David Lawrence
08b89fee02 dighost.c, not digmain.c 2000-04-26 22:54:13 +00:00
Michael Sawyer
3fbc17b5e3 Mostly functional version of host. Some limitations and formatting errors
still exist.
2000-04-26 22:53:56 +00:00
Michael Graff
98e8a46972 comments from code review 2000-04-26 21:54:50 +00:00
David Lawrence
a59b51eb1d Correctly detect inet_aton, inet_pton and inet_ptop on BSD/OS 4.1. 2000-04-26 21:50:49 +00:00
Mark Andrews
d2ed254fb8 (..., "%03u", 2) was not zero filling 2000-04-26 21:15:14 +00:00
Michael Sawyer
d43730bbf2 Stylistic changes and inclusion of isc/print.h 2000-04-26 19:36:40 +00:00
Bob Halley
7525fa78c0 add XXXRTH comment about sending to ourselves 2000-04-26 19:25:01 +00:00
David Lawrence
fa9918984b DOD INTERNET HOST TABLE SPECIFICATION 2000-04-26 19:09:21 +00:00
Michael Sawyer
30eee5633c Change debugging messages in dig.c and dighost.c to use stderr.
Improve message if resolver host not found.
2000-04-26 18:58:31 +00:00
Michael Sawyer
ebbfa36a62 Rearrange source files. dig.c/dighost.c builds dig binary, host.c/dighost.c
builds host binary.  Host does not presently work.
Add some additional command line options on dig.
2000-04-26 18:34:17 +00:00
Michael Graff
95f908eb79 more bug fixes in generation of rdatatype_fromtext() processing 2000-04-26 18:30:04 +00:00
Mark Andrews
e8c91210aa Add structure definitions. 2000-04-26 18:27:56 +00:00
Andreas Gustafsson
8db70f36be isc_buffer_putstr() will soon return void 2000-04-26 18:24:15 +00:00
David Lawrence
6b526894f4 Quieted EGCS warnings from lib/isc/print.c 2000-04-26 17:45:15 +00:00
Michael Graff
88cad53724 fix problem with alpha 2000-04-26 17:27:01 +00:00
David Lawrence
f6cdcafa33 100. [cleanup] <isc/random.h> does not need <isc/int.h> or
<isc/mutex.h>.  isc_random_t moved to <isc/types.h>.
2000-04-26 17:25:03 +00:00
Andreas Gustafsson
1fd7c7ecb0 made rate limiter test conform to the new API 2000-04-26 17:11:56 +00:00
Andreas Gustafsson
16a107c904 rate limiter now has separate shutdown() and
destroy() functions, and it guarantees that all queued
events are delivered even in the shutdown case
2000-04-26 17:10:32 +00:00
David Lawrence
b5dbab9c3f typedef isc_ondestroy_t moved to <isc/types.h> 2000-04-26 17:06:44 +00:00
Andreas Gustafsson
8e04f382b6 updated comments based on API review 2000-04-26 17:04:11 +00:00
Andreas Gustafsson
bfcb9c7878 added ISC_EVENTCLASS_RATELIMITER 2000-04-26 16:59:18 +00:00
Andreas Gustafsson
e2e72750af added ISC_EVENTATTR_CANCELED 2000-04-26 16:58:17 +00:00
Andreas Gustafsson
18657d332b updated internet drafts 2000-04-26 05:25:14 +00:00
Andreas Gustafsson
6d3c9cdf1a updated 2000-04-26 05:18:09 +00:00
David Lawrence
94da1ee12c Needs <ctype.h>, <stdio.h> and <stdlib.h> for isdigit, snprintf and strtoul
respectively.

#error if ISC_PLATFORM_NEEDVSNPRINTF is not defined.
2000-04-26 02:20:31 +00:00
David Lawrence
33e927bf86 98. [cleanup] <isc/print.h> does not need <stdarg.h> or <stddef.h>
unless ISC_PLATFORM_NEEDVSNPRINTF is defined.
2000-04-26 02:18:59 +00:00
David Lawrence
3e6b98586e <isc/ondestroy.h> does not need <stddef.h> or <isc/event.h>. 2000-04-26 01:54:48 +00:00
Andreas Gustafsson
900b9aa25e tostruct_key() no longer requires a non-NULL mctx 2000-04-26 01:44:07 +00:00
Mark Andrews
178f9cf89f fromstruct MUST NOT check mctx 2000-04-26 01:41:58 +00:00
David Lawrence
947bd6c648 <isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>. 2000-04-26 01:29:27 +00:00
David Lawrence
878363c06b 95. [cleanup] <isc/mutexblock.h> does not need <isc/result.h>. 2000-04-26 01:18:24 +00:00
David Lawrence
31c0e4ba05 style lint 2000-04-26 01:12:02 +00:00
Andreas Gustafsson
cc5547dbcb Some installed header files did not compile as C++ 2000-04-26 01:03:45 +00:00
Andreas Gustafsson
ad73ddc323 don't use 'new' as an identifier in installed
header files - it's a reserved word in C++
2000-04-26 01:01:23 +00:00
David Lawrence
a68a5a2454 updated documentation w.r.t context/configuration dichotomy 2000-04-26 01:00:09 +00:00
David Lawrence
a890fbefa3 C++ reserves the word "template"; use "templet" as the parameter to
isc_file_openunique
2000-04-26 00:45:24 +00:00
David Lawrence
37cc3f596b oops, isc__file_mktemplate instead of isc_file_mktemplate 2000-04-26 00:44:36 +00:00
David Lawrence
b8957f3496 93. [cleanup] <isc/msgcat.h> does not need <isc/result.h>. 2000-04-26 00:21:42 +00:00
David Lawrence
c7f22f83aa 92. [cleanup] <isc/mem.h> does not need <stddef.h>, <isc/boolean.h>,
or <isc/result.h>.
2000-04-26 00:15:39 +00:00
David Lawrence
642c20f6a1 style lint 2000-04-25 23:44:37 +00:00
David Lawrence
c4717613e4 <isc/log.h> does not need <sys/types.h> or <isc/result.h> 2000-04-25 23:44:20 +00:00
Andreas Gustafsson
fc4256ffdd need <isc/lang.h> 2000-04-25 23:29:02 +00:00