Commit Graph
47 Commits
Author SHA1 Message Date
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Mark Andrews 0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
David Lawrence 6d12fdf966 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.

The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.

rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.

Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast.  The type of an
enum member is int, so there are some conversion issues there, too.)

A pointers-to-function should not be cast to a pointer-to-object.

Variables should not be named for C reserved identifiers.

One or two set-but-not-used variables removed.

Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
Michael Graff 341323e0e7 move dns_db_getsoaserial() from journal.c to db.c 2000-05-20 01:32:03 +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
David Lawrence b77f76be2d Where the methods field of an rdataset was compared to NULL, now use
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +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
Michael Graff 4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
James Brister d549c37348 Support ondestroy notfication of databases. 2000-02-10 16:09:01 +00:00
Brian Wellington 6cac2e0f7a dns_db_deleterdataset can now delete SIG sets. 2000-02-08 19:25:37 +00:00
Bob Halley 7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Bob Halley 64e829fffb allow db adds to be forced 2000-01-25 19:26:45 +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
Bob Halley bad8294771 add const to filename args 1999-10-25 18:42:09 +00:00
Bob Halley 9acbfdb6a2 add dns_db_findzonecut() 1999-10-21 17:50:36 +00:00
Bob Halley 0b157747b3 findrdataset can now return a sig 1999-09-08 01:10:08 +00:00
Bob Halley b3e2e7c4d6 add dns_db_issecure() 1999-09-07 18:12:11 +00:00
Bob Halley 732e0731de SIG support 1999-08-31 22:14:06 +00:00
Bob Halley 739ccd81b0 foundname is no longer optional in dns_db_find() 1999-08-12 07:45:58 +00:00
Bob Halley 27ffc5a697 dns_master_load() is now _loadfile() 1999-08-05 22:12:38 +00:00
Bob Halley 7d44d8aacd add beginload and endload support 1999-07-30 23:32:19 +00:00
Bob Halley d261590940 lint 1999-06-17 02:06:16 +00:00
Bob Halley b687c057fb lint 1999-06-17 00:30:46 +00:00
Bob Halley a7e185ff3f Add dns_db_subtractrdataset().
Add DNS_R_UNCHANGED results for dns_db_{add,delete}rdataset().
Add merge flag to dns_db_addrdataset().
The way add and delete work should now match the .h file comments.
1999-06-16 21:02:17 +00:00
Andreas Gustafsson 5fc7ba3e1a added dns_db_dump(), $DATE, and supporting changes 1999-06-08 10:35:23 +00:00
Bob Halley 6e8ec359a4 add expirenode support 1999-05-06 00:32:32 +00:00
Bob Halley 7f705ac9a2 addrdataset now optionally returns the added rdataset 1999-05-05 22:57:20 +00:00
Bob Halley 302d9bebb5 require added rdatasets to be in the same class as the database 1999-04-20 22:31:39 +00:00
Bob Halley 48481c9b6e add dns_db_class() 1999-04-20 22:26:12 +00:00
Bob Halley b8862d5130 add dns_db_attachversion() 1999-04-19 22:51:48 +00:00
Bob Halley 6bb7b678f5 do not pass the version to dns_db_createiterator() 1999-04-16 21:28:00 +00:00
Bob Halley a3e2ec2dfe dns_db_deleterdataset() needed the same REQUIRE fix as dns_db_addrdataset() 1999-04-13 01:52:58 +00:00
Bob Halley 5c6d49484b fix incorrect REQUIRE statement in dns_db_addrdataset() 1999-04-09 19:14:06 +00:00
Bob Halley 63e6086ef9 pass time to routines which add or create rdatasets 1999-04-09 01:10:19 +00:00
Bob Halley e7e2e948e3 add REQUIRE statements for dns_db_find() 1999-04-05 20:47:20 +00:00
Bob Halley ced5499494 add dns_db_find 1999-04-01 04:03:22 +00:00
Bob Halley efe6d8f066 add dns_db_allrdatasets 1999-03-11 06:00:22 +00:00
Bob Halley 8c65ae482a db iterator support 1999-03-08 19:00:55 +00:00
Bob Halley 097c31fdea add dns_db_printnode 1999-03-05 23:25:44 +00:00
Bob Halley 0e3ad06058 additional assertions, C++ compatibility, rbtdb64 support 1999-03-04 02:42:40 +00:00
Bob Halley b2f1f3b836 add reminder 1999-03-02 19:57:10 +00:00
Bob Halley 62837b832f version registry; API cleanups; comments; assertions 1999-02-11 04:55:38 +00:00
Bob Halley a99979c686 add dns_db_origin 1999-02-01 21:21:35 +00:00
Bob Halley b03b67a6f1 add base, dns_db_load 1999-01-29 07:03:42 +00:00
Bob Halley 1ccbfca64a add preliminary db support 1999-01-28 23:53:03 +00:00