Commit graph

1093 commits

Author SHA1 Message Date
Mark Andrews
c08fedf6a5 Not all OS's yet supply {v}snprintf().
This implementation is nearly complete except for outragous
	precision values on floating point numbers.  This impelemation
	has a maximum precision of 512.
1999-09-10 12:45:28 +00:00
Michael Graff
af6e7e5cd2 Changes to message.c/h to use memory pools for names. Coming soon:
same thing for rdata, rdatalist, and rdatasets.

Also implement dns_message_takebuffer().

See comments in message.h for news.
1999-09-10 02:48:32 +00:00
Michael Graff
c3a4d8072c fix allocation of buffer for rdata 1999-09-10 02:42:12 +00:00
Michael Graff
3df43dad43 Make the ISC_BUFFER_VALID() be exported from buffer.h, so bufferlist.h
can use internal buffer pointers without fear by first performing the
same validity check used in the buffer.c file.  This eliminates a
function call inside a loop, and the bufferlist.c file is really a
superset of buffers in many ways already.
1999-09-10 01:54:08 +00:00
Mark Andrews
bada60fd2a Non portable type used. u_int32_t -> isc_uint32_t 1999-09-09 23:25:51 +00:00
James Brister
fe4cf362bb Fixed bad use of return(). 1999-09-09 22:32:33 +00:00
James Brister
26d88c4373 Fix decl for Digital Unix 1999-09-09 22:28:42 +00:00
James Brister
9f27447cae Fix includes for when buildtree != sourcetree 1999-09-09 22:24:34 +00:00
Bob Halley
ac70da9a27 allow malloc() and free() to be replaced 1999-09-09 19:32:03 +00:00
Bob Halley
f4cba0c2e1 add confparser.c confparser_p.h 1999-09-09 19:31:37 +00:00
James Brister
f1a1c734fd Removed as they're rebuildable and having them in the pool creates
unnecessary CVS warnings.
1999-09-09 16:40:02 +00:00
David Lawrence
b906092cb1 MSVC++ does not allow "long long". This uses the MSVC++ native types
to specify integers of the appropriate bit widths.
1999-09-09 15:19:43 +00:00
Andreas Gustafsson
eb1570a11b a case label must be followed by a a statement 1999-09-09 09:24:09 +00:00
Andreas Gustafsson
2813268985 added dns_dnssec_findzonekeys() 1999-09-09 08:28:23 +00:00
Andreas Gustafsson
93bcd26bfa SIGs covering different types are now considered separate rdatasets in dns_diff_apply() 1999-09-09 08:26:17 +00:00
Andreas Gustafsson
a156e03d99 added nxt.c 1999-09-09 08:22:07 +00:00
Andreas Gustafsson
3b6d32336c created 1999-09-09 08:21:45 +00:00
Michael Graff
186817c92c make dns_message_findtype() public 1999-09-09 01:10:53 +00:00
Bob Halley
90c2adec84 zone_findrdataset() could cause a core dump 1999-09-08 16:11:31 +00:00
Andreas Gustafsson
b469f0321d added dns_rdatatype_isdnssec() and dns_rdatatype_iszonecutauth() 1999-09-08 07:35:27 +00:00
Andreas Gustafsson
b1a67f989f ISC_LIST_APPENDLIST now clears list2 consistently 1999-09-08 05:56:21 +00:00
William King
9e74b13fd2 uncommented -a argument processing 1999-09-08 01:33:07 +00:00
Bob Halley
0b157747b3 findrdataset can now return a sig 1999-09-08 01:10:08 +00:00
Bob Halley
3c8f313f04 remove debugging code 1999-09-08 01:08:57 +00:00
Bob Halley
8660a2d45b stdio.h is required if tracing 1999-09-07 23:09:06 +00:00
Bob Halley
9da327c41b add a6 1999-09-07 23:08:00 +00:00
Bob Halley
b3a569d85c rdataset_clone was broken 1999-09-07 23:05:20 +00:00
Bob Halley
b3e2e7c4d6 add dns_db_issecure() 1999-09-07 18:12:11 +00:00
Andreas Gustafsson
ba2d393cd8 don't ignore updates that change only the TTL 1999-09-07 05:26:26 +00:00
Bob Halley
1819606910 add bitstring 1999-09-07 01:32:27 +00:00
Brian Wellington
6ac145533e off by one error 1999-09-06 16:55:58 +00:00
Michael Graff
e4f133deed Add isc_buffer_usedcount() and availablecount() -- which should become macros 1999-09-06 04:45:13 +00:00
Michael Graff
c520793fb9 Add isc_socket_sendv(), sendtov(), and recvv() that work 1999-09-06 04:44:40 +00:00
Michael Graff
8c68207dfa use isc/bufferlist.h for definition of isc_bufferlist_t 1999-09-06 04:43:29 +00:00
Michael Graff
85f0f10eeb add bufferlist.c and bufferlist.h 1999-09-06 04:41:38 +00:00
Mark Andrews
658c72a46e Add zone(), zone_test to build. 1999-09-04 01:07:06 +00:00
James Brister
9a599ce834 Fixed typo in variable name. 1999-09-03 21:02:23 +00:00
James Brister
92db5cd726 Renamed many identifiers to match coding guidelines. 1999-09-03 20:59:50 +00:00
James Brister
feb08cecf3 Include config parser in build and library. 1999-09-03 20:56:23 +00:00
James Brister
dcf97f1767 Include config parser header files. 1999-09-03 20:51:29 +00:00
James Brister
67d3afc471 Renamed many identifiers to match coding guidelines. 1999-09-03 20:48:22 +00:00
Brian Wellington
76caa58fe3 function to convert record to DST key 1999-09-03 19:05:50 +00:00
Bob Halley
17836c7ab3 remove erroneous inet_ntop.@O@ 1999-09-03 17:56:58 +00:00
Bob Halley
453f3213e9 undo ISC_MEM_RECORD 1999-09-03 17:45:17 +00:00
Michael Graff
c138fc2791 multi-buffer isc_socket_recvv() -- needs testing 1999-09-03 16:38:08 +00:00
Mark Andrews
3e9a5c9dc6 Missing enum from config. 1999-09-03 13:24:14 +00:00
Mark Andrews
29ed825602 Changes for the introduction of 'covers' and dns_db_find returning
the sig RRset.
1999-09-03 13:21:30 +00:00
Mark Andrews
feb72cfbe7 Record where memory requests and releases were made.
Double isc_mem_put()'s well now cause an INSIST failures.
	These are on by default during development but can be turned
	off by "#define ISC_MEM_RECORD 0" or equivalent.
1999-09-03 13:19:17 +00:00
Michael Graff
e823f5d408 common path for sending, too 1999-09-03 01:18:45 +00:00
Michael Graff
ad76b9d585 checkpoint new development: recvmsg() path is now common between all receiving
routines (internal and external)
1999-09-03 00:22:28 +00:00