Commit Graph
57 Commits
Author SHA1 Message Date
Mark Andrews 9052beb238 pullup
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2003-08-11 05:28:23 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews a5af8127b8 add support for enabling library logging.
add missing ISC_LINK_INIT()
2000-11-28 03:34:10 +00:00
Mark Andrews b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +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 e9f871a352 did not compile due to typo in previous change 2000-06-08 16:58:39 +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 1b6d529cb5 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.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +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
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
Bob Halley 398b196682 db, dbtable api changes; find zonecut; noexact 2000-04-19 18:48:46 +00:00
Michael Graff 4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington 75f8396869 Pass covers field to dns_db_deleterdataset 2000-02-08 19:27:36 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Bob Halley 08af8bf5ad conform to dns_db_addrdataset() API change 2000-01-25 19:30:51 +00:00
Bob Halley e098b34f39 get rid of NXGLUE 1999-10-25 23:04:55 +00:00
Bob Halley 82e9817a18 lint 1999-10-10 17:13:29 +00:00
David Lawrence c736c1a599 use isc_time_now()/isc_time_microdiff() instead of gettimeofday/struct timeval 1999-10-09 02:42:55 +00:00
David Lawrence 6a759e3869 use isc_commandline_parse instead of getopt 1999-10-06 20:07:25 +00:00
Bob Halley 3dabf636a0 NXGLUE support 1999-09-13 18:26:12 +00:00
Bob Halley b97146d92b use database origin for seekname 1999-09-02 16:52:14 +00:00
Bob Halley 065273f52a add _last, _prev, and _seek for dbiterators 1999-09-02 16:43:45 +00:00
Bob Halley 732e0731de SIG support 1999-08-31 22:14:06 +00:00
Bob Halley 732e537cdc NXDOMAIN NXT support 1999-08-26 07:00:43 +00:00
Bob Halley ff5fcd9e67 NXRRSET NXT support 1999-08-19 20:46:59 +00:00
Bob Halley 4bf3395d14 allow DNS_DBFIND_NOWILD to be toggled 1999-08-12 07:51:50 +00:00
Bob Halley 177211ef1b only use isc_result_t 1999-06-18 22:46:46 +00:00
Bob Halley ca67883a66 cache trust level support 1999-06-16 23:47:09 +00:00
Bob Halley 5247117a5b Remove a call to dns_result_register() that was committed before it should
have been.
1999-06-16 23:10:44 +00:00
Bob Halley f8c597fd51 conform to API changes 1999-06-16 21:03:35 +00:00
Andreas Gustafsson 5fc7ba3e1a added dns_db_dump(), $DATE, and supporting changes 1999-06-08 10:35:23 +00:00
Bob Halley 137ef1611e switch to dns_dbtable_detach 1999-05-12 09:47:59 +00:00
Bob Halley 7f705ac9a2 addrdataset now optionally returns the added rdataset 1999-05-05 22:57:20 +00:00
Bob Halley a85c8737f7 get rid of obsolete MAXDBS define 1999-05-03 19:57:22 +00:00
Michael Graff 8d6024e7cf Move the flags on dns_rdataset_totext() to be together, and make a
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff 597bdfef60 Make this compile again after the dns_rdataset_totext() 1999-04-30 02:09:28 +00:00
Bob Halley f810b40189 allow memory quota to be specified 1999-04-27 23:20:27 +00:00
Bob Halley 1e4a63c406 add class 1999-04-20 22:27:27 +00:00
Bob Halley d41e7a38de further incremental iterator support 1999-04-19 22:53:33 +00:00
Bob Halley b975721c0c fix versioning; iterator support 1999-04-17 01:38:04 +00:00
Bob Halley b8a07403d1 dbtable support; loading of multiple zones now works 1999-04-14 02:37:44 +00:00
Bob Halley a7fbdbf0aa add holdmode and VC command 1999-04-09 19:18:52 +00:00
Bob Halley 6a6a1f94df quiet mode; timing; glue validation; update db interfaces 1999-04-09 01:15:12 +00:00
Bob Halley 21f835803a add DNS_R_ZONECUT 1999-04-05 20:56:03 +00:00
Bob Halley 92b34d1853 Support for dns_db_find().
Allow creation of a database with cache semantics.
Allow search rdata type to be specified.
Allow glue to be retrieved.
Make output nicer looking by adding whitespace.
1999-04-01 04:14:25 +00:00
Bob Halley 7cb9c09a7b support any type 1999-03-11 06:02:50 +00:00
Bob Halley ff9104607c add deletion 1999-03-06 00:51:12 +00:00