Mark Andrews
be54c486fa
remove unnecessary break
2000-02-02 05:59:59 +00:00
Mark Andrews
c27f90d73a
remove ambiguous else message
2000-02-02 05:49:55 +00:00
Bob Halley
6e1e90b9b6
Undo 1.100 which caused problems on platforms other than Linux.
2000-02-02 02:34:30 +00:00
Mark Andrews
f57cf8a270
Add gai_strerror
2000-02-02 02:01:04 +00:00
Mark Andrews
40de7483ff
lint
2000-02-02 01:15:43 +00:00
Mark Andrews
83e592bfba
missing static
2000-02-02 01:01:24 +00:00
Mark Andrews
e63f7c6f55
lint
2000-02-02 00:58:15 +00:00
Andreas Gustafsson
7b24a94d11
typo in comment
2000-02-02 00:41:26 +00:00
Andreas Gustafsson
d5017b061c
typo in comment
2000-02-02 00:38:28 +00:00
Bob Halley
8c5039fd81
improve error message if zone callback fails; revise error levels
2000-02-02 00:38:11 +00:00
Andreas Gustafsson
62e22bc7a5
typos in comments
2000-02-02 00:36:34 +00:00
Michael Graff
d257033612
Thanks to Mark's fix, select() actually wasn't broken, I was. Use NULL for write/except fds again
2000-02-02 00:34:46 +00:00
Bob Halley
859ee7da20
lint
2000-02-01 23:28:09 +00:00
Mark Andrews
f43d714ada
#include <stdlib.h> as va_arg may call abort(): BSDI 3.1
2000-02-01 23:18:52 +00:00
Andreas Gustafsson
386fef57fa
don't write to freed memory
2000-02-01 17:27:23 +00:00
David Lawrence
19f15c36b9
omapi_protocol_listen/omapi_listener_listen use sockaddr instead of port
...
no more OMAPI_PROTOCOL_PORT; default port must be define per application.
2000-02-01 15:16:53 +00:00
David Lawrence
afe59244b4
omapi_protocol_listen now takes sockaddr arg instead of port.
...
omapi_protocol_connect now does not accept port of 0 for "default port"
2000-02-01 15:15:24 +00:00
David Lawrence
4b8831992e
omapi_listener_listen port argument now sockaddr; removed listener->address
2000-02-01 15:13:49 +00:00
Mark Andrews
c69eec29aa
lwres_getaddrsbyname called with v4 flag when v6 required.
2000-02-01 06:55:36 +00:00
Mark Andrews
f738cdef3d
#include <sys/time.h>
...
Use LWRES_DEFAULT_TIMEOUT instead of LWRES_R_TIMEOUT to set select timout.
2000-02-01 06:46:47 +00:00
Michael Graff
b91bbaf50c
implement timeouts
2000-02-01 02:59:40 +00:00
Michael Graff
db1259453c
wait at most 10 seconds for server to respond
2000-02-01 02:59:27 +00:00
Mark Andrews
7e4d75a5da
add copyright notices
2000-02-01 02:58:47 +00:00
Bob Halley
e974143273
do not ever mark forwarders as lame
2000-02-01 02:16:17 +00:00
Mark Andrews
c4cc75482f
Add missing malloc failure check
...
Correctly NULL second entry in he->h_addr_list on get*byaddr.
2000-02-01 01:58:26 +00:00
Andreas Gustafsson
fbb5a4f316
don't write to freed memory
2000-02-01 01:27:30 +00:00
Michael Graff
e721270c5d
return LWRES_R_ codes, and clean up a buglet or two dealing with allocating 0 bytes
2000-02-01 00:24:58 +00:00
Andreas Gustafsson
f316fb9a63
needless use of void pointers made debugging hard
2000-02-01 00:18:35 +00:00
Andreas Gustafsson
22eeba5ec6
use global max-transfer-time-out if per-zone option is not set
2000-01-31 23:13:22 +00:00
Andreas Gustafsson
f8b42037da
obey the max-transfer-idle-in options
2000-01-31 22:55:04 +00:00
Andreas Gustafsson
515277c0e8
function was declared static but defined non-static
2000-01-31 22:06:09 +00:00
Andreas Gustafsson
ad8294ec37
eliminate HP-UX compiler warning
2000-01-31 21:59:50 +00:00
Andreas Gustafsson
af22dc3723
include <string.h>
2000-01-31 21:59:02 +00:00
David Lawrence
c5f33ba0f0
added isc_sockaddr_getport
2000-01-31 21:52:17 +00:00
David Lawrence
7ce7f319b5
set to omapi_object_types to NULL after freeing the types
2000-01-31 20:24:43 +00:00
Andreas Gustafsson
bb56f556f5
use global max-transfer-time-in if per-zone option is not set
2000-01-31 19:53:14 +00:00
Andreas Gustafsson
ff966df508
quiet compiler warning about ambiguous 'else'
2000-01-31 18:52:43 +00:00
Andreas Gustafsson
9a1e183042
removed unnecessary #includes
2000-01-31 18:32:36 +00:00
Andreas Gustafsson
6627af90c6
quiet compiler warning about ambiguous 'else'
2000-01-31 18:21:33 +00:00
Andreas Gustafsson
87fe131e60
include <isc/mktemplate.h> and <isc/ufile.h>
2000-01-31 18:05:13 +00:00
Andreas Gustafsson
c718c8aa60
separate transfer-source addresses for IPv4 and IPv6
2000-01-31 18:00:07 +00:00
Andreas Gustafsson
994a1996e4
spell ISC_*_H in uppercase
2000-01-31 17:41:49 +00:00
Andreas Gustafsson
3d659a692a
mkstemp() requires <stdlib.h> on NetBSD
2000-01-31 17:36:02 +00:00
David Lawrence
697de685e1
In xfrin_logv, do not omit the final dot of the zone name if the zone
...
name is dns_rootname.
2000-01-31 15:10:29 +00:00
David Lawrence
e5a213d7ee
use isc_net_probeipv6 to decide family of sockaddr_any in dns_zone_configure
2000-01-31 15:09:09 +00:00
David Lawrence
6a11a9610d
do not need config.h or isc/result.h
...
do need isc/util.h
mutex and recv_lock no longer needed in connection; wait_lock used instead.
messages_expected no longer needed in connection.
no more omapi_ipv6
connection_send return value changed from void to isc_result_t
connection_wait no longer takes a timeout parameter
new private function, handle_destroy
2000-01-31 15:07:04 +00:00
David Lawrence
450e60d4f1
_OMAPI_OMAPIP_H_ changed to _OMAPI_OMAPI_H_ to match file name.
...
include isc/region.h and new omapi/types.h
typedefs moved to omapi/types.h
define protocol port to 7912 so as not to conflict with dhcp server;
this clearly needs more thought. the default omapi port will need to be
server specific rather than library specific.
new public functions, omapi_listener_shutdown, omapi_data_getint.
changed API, omapi_string_totext, omapi_value_getint
2000-01-31 15:04:11 +00:00
David Lawrence
5964aac22f
omapi_data_asint renamed to omapi_data_getint, old name of omapi_object_getvalue was wrong
2000-01-31 15:00:44 +00:00
David Lawrence
f6826ddc14
typedefs broken out of omapi.h
2000-01-31 14:59:46 +00:00
David Lawrence
ea44276a01
renamed omapi_value_asint to omapi_value_getint, added omapi_value_getregion
2000-01-31 14:59:23 +00:00