David Lawrence
f675434978
return rather than exit from main() to shut up HP/UX
2000-05-08 20:12:46 +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
2e6c976751
include severity level in log messages printed on stderr
2000-05-06 00:50:41 +00:00
Andreas Gustafsson
b4780360a4
log dns library warnings to stderr even when not verbose;
...
do not prefix stderr messages with time stamp
2000-05-06 00:48:53 +00:00
Andreas Gustafsson
01757e5311
added check for missing domain name argument
2000-05-05 19:55:56 +00:00
Michael Graff
c90f5e8d1e
Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext().
2000-05-03 21:11:40 +00:00
Andreas Gustafsson
6ba0a8a5e7
eliminated compiler warnings on alpha
2000-05-03 18:25:52 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Michael Graff
ebff64a8bd
add a ; after a goto label, since it needs a statement after it.
...
Brian should look at this section of code, since I believe it will leak
a reference to 'keyset'
2000-05-01 21:59:05 +00:00
Brian Wellington
abce4875c3
Import the parent zone key signature, create null keys for unsigned children
...
or set the zone status bit for signed children.
2000-04-28 15:47:36 +00:00
Brian Wellington
38c60b442e
dns_rdata_generic_sig_t -> dns_rdata_sig_t
2000-04-28 02:29:57 +00:00
Brian Wellington
7df0472d8a
Added isc/util.h
2000-04-28 02:12:16 +00:00
Mark Andrews
b8dd48ecf8
119. [cleanup] structure definitions for generic rdata stuctures do
...
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
Andreas Gustafsson
96eb58dd46
conform to buffer API changes
2000-04-27 22:09:59 +00:00
Bob Halley
dcb719f17d
conform to buffer api changes
2000-04-27 20:29:26 +00:00
Brian Wellington
03f0e349d8
Added keysigner and keysettool
2000-04-27 19:15:16 +00:00
Brian Wellington
22e8a31981
Added verbose flag. Currently doesn't do anything, but it's consistent with
...
the other dnssec tools.
2000-04-27 18:24:26 +00:00
Brian Wellington
a15583c681
Conform to the dns_dnssec_verify api change
2000-04-27 18:17:27 +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
Brian Wellington
32eeec8559
Rewrite of keygen.
2000-04-25 17:57:10 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Brian Wellington
b930c125ca
Fixed missing braces reported on bind9-workers. The rewritten keygen should
...
hopefully go in just after b2.
2000-03-23 19:03:32 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Brian Wellington
4124057bf5
dst_result_t -> isc_result_t
2000-03-06 20:04:15 +00:00
Brian Wellington
2b71493ae6
Add an option (-a) to attempt to verify generated signatures
2000-03-06 18:16:49 +00:00
Brian Wellington
2e9fe863e1
Print a warning if we see a wildcard in a zone we're signing.
2000-03-01 21:23:46 +00:00
David Lawrence
edcd1247ad
isc_log_create now has three parameters, the additional one used to
...
return an isc_logconfig_t. isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.
isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.
isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Brian Wellington
2d478b7049
comments and logging changes
2000-02-14 23:38:31 +00:00
Brian Wellington
46374d51a6
print usage in more situations, make usage fit in 24 lines
2000-02-14 22:34:08 +00:00
Brian Wellington
75f8396869
Pass covers field to dns_db_deleterdataset
2000-02-08 19:27:36 +00:00
Brian Wellington
201b17e55f
Determine the minimum ttl from the SOA and pass it into dns_buildnxt
2000-02-08 19:03:29 +00:00
Brian Wellington
3aa0851a58
more fixes relating to glue
2000-02-05 20:28:56 +00:00
Olafur Gudmundsson
f4e90d4323
Memory leak plugged for log context
2000-02-04 00:34:37 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
Brian Wellington
14865492bc
don't quit if dns_dnssec_findzonekeys returns ISC_R_NOTFOUND
2000-02-03 18:49:08 +00:00
Olafur Gudmundsson
85a932c4f4
enable logging from dns libraries
2000-02-03 17:50:08 +00:00
Brian Wellington
78524085b5
minor bugfixes
2000-02-03 16:58:54 +00:00
Brian Wellington
af9cc9f133
ignore glue when generating SIGs and NXTs
2000-02-01 21:12:11 +00:00
Brian Wellington
b8df3e551a
minor cleanups
2000-02-01 19:37:57 +00:00
Brian Wellington
b72b07e79b
rename variables to avoid linker errors on aa
2000-01-31 23:15:33 +00:00
Mark Andrews
d875b1151d
dns_zone_dump() -> dns_zone_dumptostream()
2000-01-31 02:16:13 +00:00
Brian Wellington
587368b247
couple of bug fixes, missed a few cases of verbosity-izing
2000-01-28 21:40:24 +00:00
Brian Wellington
a67fc7e1ff
verbose option (-v) actually does something, infinite loop fix
2000-01-28 20:33:41 +00:00
Brian Wellington
19a3e16a9d
Use zone routines to load/dump instead of db routines
2000-01-28 16:36:41 +00:00
Bob Halley
08af8bf5ad
conform to dns_db_addrdataset() API change
2000-01-25 19:30:51 +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
4a73cf8ee0
update copyrights
1999-10-31 18:42:01 +00:00
Mark Andrews
90adbb5f1c
Remove various "enumerated type mixed with another type" warnings.
...
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
Mark Andrews
93a3bb12e0
Fix ctype macro args
1999-10-29 08:27:34 +00:00