Commit graph

3683 commits

Author SHA1 Message Date
Mark Andrews
e420bc4e0d Add request to build. 2000-03-20 12:27:33 +00:00
Mark Andrews
afbc024820 Add DNS_R_USETCP. 2000-03-20 12:26:32 +00:00
Mark Andrews
48df229b7b Add request/requestmgr support. 2000-03-20 12:25:48 +00:00
Mark Andrews
78da321b43 checkpoint 2000-03-20 12:22:02 +00:00
James Brister
1774961457 review changes. 2000-03-19 03:15:49 +00:00
James Brister
ad1b7dd6b9 sample usage of request-ixfr and provide-ixfr 2000-03-19 03:14:20 +00:00
James Brister
5475a2d296 Support request-ixfr and provide-ixfr values in options and server
statements.
2000-03-19 02:58:15 +00:00
David Lawrence
82e902bfde omapi_lib_destroy() in destroy_managers() if no ns_g_omapimgr started 2000-03-18 02:52:10 +00:00
David Lawrence
01bc26dc4c dns_acl_detach after passing the acl the omapi_listener_listen 2000-03-18 02:38:20 +00:00
Bob Halley
5a8c6cd711 shutdown omapi before destroying the task manager. 2000-03-18 02:23:53 +00:00
David Lawrence
5805e57141 isc_task_setname(omapi_task, "omapi", NULL) 2000-03-18 02:04:16 +00:00
David Lawrence
64339caa43 removed unused "result" stack var from digest_afsdb 2000-03-18 01:46:15 +00:00
Bob Halley
0e58c0998d don't catch SIGQUIT 2000-03-18 01:29:48 +00:00
Brian Wellington
9dee95b41c code review - minor formatting changes, remove duplicate assignment,
add a comment to reinspect a loop later
2000-03-18 01:00:57 +00:00
David Lawrence
71f93ef065 Use task method for listener shutdown. 2000-03-18 00:54:07 +00:00
David Lawrence
f96b41064b create socketmgr and taskmgr, pass to omapi_lib_init, and destroy when done 2000-03-18 00:53:11 +00:00
David Lawrence
b986772b1a ns_omapi_init now takes no parameters 2000-03-18 00:50:25 +00:00
David Lawrence
878f2cd4a2 Pass ns_g_taskmgr and ns_g_socketmgr to omapi_lib_init.
listen_done changed to an isc_taskaction_t.
2000-03-18 00:49:54 +00:00
James Brister
3bb4fdd9cc remove unused rcsid variable 2000-03-18 00:46:47 +00:00
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