Andreas Gustafsson
5827c8e0a6
80 columns
2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9
removed spurious empty line inserted in previous commit
2001-07-16 17:14:38 +00:00
Danny Mayer
f621719829
Added support for Win32
2001-07-16 05:10:30 +00:00
Andreas Gustafsson
f2ee3341c7
spacing
2001-07-06 22:53:48 +00:00
Danny Mayer
11c7a43642
type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext()
2001-06-27 04:30:37 +00:00
Andreas Gustafsson
e482a1c91e
cache dumps now include trust levels and ncache entries
2001-04-26 21:17:56 +00:00
Andreas Gustafsson
bed7a35293
dns_master_questiontotext() needs a style argument after all
2001-03-28 00:58:15 +00:00
Andreas Gustafsson
bfe313722d
dns_masterfile_style_debug -> dns_master_style_debug
2001-03-28 00:54:40 +00:00
Andreas Gustafsson
531eafa302
use dns_master_rdatasettotext() &co; removed unused flag
...
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a
new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
...
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Andreas Gustafsson
123a3dddc9
772. [bug] Owner names could be incorrectly omitted from cache
...
dumps in the presence of negative caching entries.
[RT #991 ]
2001-03-07 22:30:21 +00:00
Andreas Gustafsson
1da54a3de9
removed redundant error check [RT #669 ]
2001-01-16 21:18:10 +00:00
Brian Wellington
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +00:00
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
David Lawrence
e694d4e201
quiet gcc 2.7.2.3 (specifically, the one on trantor) about a cast discarding
...
const in dump_order_compare()
2000-12-06 01:36:36 +00:00
Andreas Gustafsson
673ce7aebb
removed redundant declaration of dns_rdataclass_totext() from rdata.h;
...
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Andreas Gustafsson
b7e031d517
435. [bug] dns_zone_dump() overwrote existing zone files
...
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282 ]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
593cb00bd1
rewrote 383. to reduce code duplication and increase functionality:
...
now all records are printed in a sorted order, not just the SOA and NS and
their SIGS
2000-08-16 22:33:32 +00:00
Brian Wellington
674f1cfb1d
383. [func] When writing a master file, print the SOA and NS
...
records (and their SIGs) before other records.
2000-08-10 01:02:00 +00:00
Andreas Gustafsson
7bf91d95eb
tab sets for default and explicitttl styles were
...
swapped (?)
2000-08-07 19:54:50 +00:00
Brian Wellington
19f4d25fd5
Add dns_master_dumpnode, dns_master_dumpnodetostream, and
...
dns_master_style_explicitttl.
2000-08-03 19:50:12 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
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
Andreas Gustafsson
8edbb66acd
#include <errno.h> no longer needed now that we use isc_file_*
2000-06-02 00:05:30 +00:00
David Lawrence
600cfa2ba4
184. [cleanup] Variables/functions which began with two leading
...
underscores were made to conform to the ANSI/ISO
standard, which says that such names are reserved.
2000-05-16 05:19:47 +00:00
Andreas Gustafsson
ec7493d8d1
172. [bug] $TTL directive was sometimes missing from dumped
...
master files because totext_ctx_init() failed to
initialize ctx->current_ttl_valid.
2000-05-14 02:31:09 +00:00
David Lawrence
d8e34837cd
isc_file_{stdiofunc} -> isc_stdio_*
2000-05-11 16:14:05 +00:00
Andreas Gustafsson
3e14b69d19
fixed bugs in previous commit
2000-05-09 23:35:08 +00:00
Andreas Gustafsson
913bc4304d
use isc_file_fopen() and isc_file_fclose();
...
use the logging system, not UNEXPECTED_ERROR()
2000-05-09 23:32:13 +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
Michael Graff
68e4926b22
namespace changes -- on NetBSD at least, libdns.a is now clean (excepting yy* symbols)
2000-04-28 01:15:58 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +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
Andreas Gustafsson
c0d0a59d1b
removed newlines from UNEXPECTED_ERROR() messages
2000-02-17 19:58:59 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Mark Andrews
fb5363b897
dns_master_dumptostream() from static to public.
2000-01-31 01:51:26 +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
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Bob Halley
bad8294771
add const to filename args
1999-10-25 18:42:09 +00:00
Bob Halley
980dc59626
Do not try to dump negative cache entries.
1999-10-16 00:45:59 +00:00
Bob Halley
10ba7f6f56
lint
1999-10-05 19:50:53 +00:00
Bob Halley
c801dd02ed
add CR after each question; wrap some long lines
1999-08-20 01:18:52 +00:00
Bob Halley
2e715dbdc2
fix spelling error
1999-07-24 00:59:55 +00:00