Commit Graph
3664 Commits
Author SHA1 Message Date
David Lawrence 7700639655 include <dns/result.h> 2000-03-18 00:42:07 +00:00
David Lawrence 0e766071d0 clarified requires/ensures for isc_task_detach and isc_task_sendanddetach 2000-03-18 00:41:27 +00:00
David Lawrence d5db7668a7 added ISC_EVENTCLASS_OMAPI 2000-03-18 00:40:33 +00:00
David Lawrence b6fec50e2d Added destroy_action and destroy_arg to OMAPI_OBJECT_PREAMBLE, called
from omapi_object_dereference when an object is destroyed.

Provide OMAPI_EVENT_OBJECTFREED definition to be sent as an event when
an object is destroyed.

Callback parameter to omapi_protocol_listen and omapi_listener_listen
changed type to isc_taskaction_t.

omapi_lib_init takes new taskmgr and socketmgr parameters.
2000-03-18 00:39:36 +00:00
David Lawrence c998ce2416 new global, omapi_task 2000-03-18 00:35:57 +00:00
David Lawrence ef6e6be484 Callback parameter for omapi_protocol_listen changed to isc_taskaction_t. 2000-03-18 00:35:33 +00:00
David Lawrence a9de67bf35 Call the destroy_action callback in an object, if it exists, after
omapi_object_dereference has freed the memory allocated for the object.
2000-03-18 00:34:53 +00:00
David Lawrence 7aa48442b0 Instead of setting a listener callback that is called by listener_destroy,
set the destroy_action callback used by omapi_object_dereference.
2000-03-18 00:34:13 +00:00
David Lawrence 2215fe02f1 Require a taskmgr and socketmgr for omapi_lib_init.
Create an omapi_task in omapi_lib_init and destroy it in omapi_lib_destroy.
2000-03-18 00:33:15 +00:00
Michael Graff f31f0b63cb review code, add UNUSED() where needed, fix a bug made yesterday with RETERR() 2000-03-18 00:19:26 +00:00
Andreas Gustafsson e6c22f37d8 backed out inappropriate use of RETERR() in
*_compare(); renamed 'result' to 'order' to avoid future confusion
2000-03-17 21:43:46 +00:00
Bob Halley d10099d866 Code review:
Style updates.
	Correct some comments.
	Printing "other" field now respects multiline mode.
	from/to struct routines now allocate 0 byte memory instead of
	leaving the pointer NULL if keylen or otherlen are 0.
2000-03-17 21:13:02 +00:00
Brian Wellington 06ec9f45f4 code review changes - minor formatting, updated RFC reference 2000-03-17 21:03:34 +00:00
Brian Wellington 21fbf56571 Use isc_mem_get(0) rather than NULL pointers in regions 2000-03-17 19:50:22 +00:00
Andreas Gustafsson 9b5be7076f code review 2000-03-17 19:35:25 +00:00
Andreas Gustafsson 66e45550c6 unused variable 2000-03-17 19:20:25 +00:00
Bob Halley ea462c55f1 Fix typo.
Use #if ... #endif to comment out a section that had been commented out with
C++ // comments.  The // comments are not supported by all C compilers.
2000-03-17 18:27:41 +00:00
Andreas Gustafsson 39967fd111 added RFC1348 because we implement NSAP-PTR which is defined there
(even though it is obsoleted by RFC1706)
2000-03-17 18:25:56 +00:00
Andreas Gustafsson 1eb5ce8f90 code review 2000-03-17 18:18:28 +00:00
Andreas Gustafsson 2539896175 do not indent CVS ID comment 2000-03-17 17:49:37 +00:00
Andreas Gustafsson 542deb20c4 in tostruct_sig(), store zero-length signatures as
zero-length isc_mem_get() block, not NULL pointer;
misc. stylistic changes from code review
2000-03-17 17:08:36 +00:00
Andreas Gustafsson 8193e5caa6 code review 2000-03-17 17:07:10 +00:00
Brian Wellington dd4eb0b460 code review, including fixes to suspicious looking memcmp()s 2000-03-17 02:47:01 +00:00
Michael Graff 85418c6d45 remove unused locals 2000-03-17 02:19:55 +00:00
Michael Graff 4c53bc1e9a missed a ; in there 2000-03-17 02:17:39 +00:00
Michael Graff 62c1de9d94 review; UNUSED(); minor formatting 2000-03-17 02:11:36 +00:00
Brian Wellington d44826d99c code review changes 2000-03-17 01:48:29 +00:00
Michael Graff 8dd2e6e7c1 formatting, review 2000-03-17 01:22:17 +00:00
Brian Wellington a063ed5f51 code review 2000-03-17 00:50:14 +00:00
Brian Wellington 65debe7629 code review cleanup 2000-03-17 00:15:30 +00:00
Bob Halley d72c8b8c6a Do not detach 'db' in the NOTFOUND case if it is NULL. This should not
happen, but is a possible result if the resolver returned NOTFOUND.
2000-03-17 00:07:02 +00:00
Bob Halley 0ec4b862c9 checkpoint 2000-03-17 00:01:28 +00:00
James Brister cd30495b0c code review changes 2000-03-17 00:01:18 +00:00
Bob Halley 7457bbd82f secroots is now a keytable; add trustedkeys keytable 2000-03-17 00:00:18 +00:00
Bob Halley f187c911b8 use keytables 2000-03-16 23:59:33 +00:00
Bob Halley 79e06a7909 dns_keytable_issecuredomain did not set result correctly on success 2000-03-16 23:57:02 +00:00
James Brister a4ed9791ed code review changes. 2000-03-16 23:51:09 +00:00
Brian Wellington 8732b497cf formatting changes during code review 2000-03-16 23:40:50 +00:00
Brian Wellington 5766ea1011 Avoid calling dst_verify with an empty region 2000-03-16 23:13:25 +00:00
Andreas Gustafsson 691b60f24e return zero-length signature/other data as zero-sized
isc_mem_get() blocks, not NULL pointers
2000-03-16 23:13:02 +00:00
Michael Graff 8e06cea14c check for emacs-etags, and etags, and set @ETAGS@ as needed. 2000-03-16 23:04:37 +00:00
James Brister c559e42c7e Uninitialized variable fixed. 2000-03-16 22:53:37 +00:00
Bob Halley d4a4b9ffd6 add dst_key_iszonekey, KEYFLAG and KEYPROTO values 2000-03-16 22:43:54 +00:00
Bob Halley 9dcab19457 add dst_key_iszonekey 2000-03-16 22:43:33 +00:00
Bob Halley 1db2e6b81a rdata code review 2000-03-16 22:42:32 +00:00
Andreas Gustafsson 76e9eb5ba6 document relevant RFC number 2000-03-16 22:42:31 +00:00
Andreas Gustafsson 1c497c6e34 in fromwire_opt, the option field was used as both
option and length; stylistic changes from code review
2000-03-16 22:42:10 +00:00
Bob Halley 6a02971368 don't define ISC_MEMPOOL_NAMES 2000-03-16 22:40:48 +00:00
Bob Halley 2190526544 Allow zero length allocations/deallocations. 2000-03-16 22:39:46 +00:00
Michael Graff 940e4ef72b add reviewed, minor formatting changes 2000-03-16 22:07:28 +00:00