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
|
e63f7c6f55
|
lint
|
2000-02-02 00:58:15 +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 |
|
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 |
|
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 |
|
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 |
|
Mark Andrews
|
6add3af839
|
check result from lwres_context_create()
|
2000-01-28 06:24:01 +00:00 |
|
Mark Andrews
|
4b86e44abb
|
define LWRES_ALIGN
|
2000-01-28 01:57:42 +00:00 |
|
Mark Andrews
|
fccbfc6504
|
complete prototype
|
2000-01-28 01:56:36 +00:00 |
|
Michael Graff
|
573be0bc6d
|
misc parsing and rendering nits
|
2000-01-28 00:33:14 +00:00 |
|
Mark Andrews
|
ea02307209
|
aix/solaris checkpoint
|
2000-01-27 13:04:15 +00:00 |
|
Mark Andrews
|
fb878b9043
|
@include <isc/net.h>
|
2000-01-27 12:19:58 +00:00 |
|
Mark Andrews
|
76942b0fed
|
checkpoint
|
2000-01-27 08:08:03 +00:00 |
|
Mark Andrews
|
4d4c128237
|
add appropriate const's
|
2000-01-26 23:47:00 +00:00 |
|
Michael Graff
|
f1092e671a
|
set the used region before parsing. Gotta love buffers, they'll keep ya honest
|
2000-01-26 22:22:41 +00:00 |
|
Michael Graff
|
7a196c5d60
|
checkpoint; returns error packet, but that's tommorow's work
|
2000-01-26 02:16:47 +00:00 |
|
Michael Graff
|
0974e30e20
|
limit to 8 aliases, not 16
|
2000-01-26 01:16:24 +00:00 |
|
Michael Graff
|
1a70537f01
|
fix a bug introduced with today's changes.
|
2000-01-25 02:16:00 +00:00 |
|
Michael Graff
|
a7512aefd8
|
Set a somewhat arbitrary limit on the number of host aliases we'll return.
|
2000-01-25 01:50:12 +00:00 |
|
Michael Graff
|
8cd870e3f5
|
return LWRES_R_* result codes (all are negative values, otehr than success, which is 0)
|
2000-01-24 21:57:07 +00:00 |
|
Mark Andrews
|
f85f9cb03d
|
getnetbyaddr(in_addr_t, ...)
|
2000-01-24 20:46:58 +00:00 |
|
Andreas Gustafsson
|
f2edc636b0
|
use sendto() instead of send() because the latter is
broken on OSF1
|
2000-01-24 20:19:13 +00:00 |
|
Andreas Gustafsson
|
cd54e6e148
|
use ISC_LWRES_ENDNETENTINT
|
2000-01-24 18:54:41 +00:00 |
|
Mark Andrews
|
f1890a6c56
|
int endhostent support
|
2000-01-24 12:10:49 +00:00 |
|
Mark Andrews
|
a272a55631
|
gethostbyadd changes
|
2000-01-24 11:52:30 +00:00 |
|
Mark Andrews
|
d0783e645b
|
check for previous definitions of INADDRSZ and IN6ADDRSZ
|
2000-01-24 06:52:50 +00:00 |
|
Mark Andrews
|
ca741105cb
|
netdb.h -> lwres/netdb.h
|
2000-01-24 06:50:18 +00:00 |
|
Mark Andrews
|
6f2a61172f
|
remove & before array
|
2000-01-24 06:41:12 +00:00 |
|
Mark Andrews
|
200bf90364
|
Use lwres/netdb.h
|
2000-01-24 03:35:01 +00:00 |
|
Mark Andrews
|
8bddb73c66
|
Add support for differing gethostbyaddr(), sethostent() and endhostent().
|
2000-01-24 01:16:43 +00:00 |
|
Mark Andrews
|
ebd4c01b59
|
seperate test for AI_NUMERICHOST
|
2000-01-21 05:34:53 +00:00 |
|
Mark Andrews
|
4809af1b58
|
prototypes are now in netdb.h
|
2000-01-21 02:15:37 +00:00 |
|
Mark Andrews
|
eda879bf41
|
Check for AI_NUMERICHOST seperately.
|
2000-01-21 02:08:24 +00:00 |
|
Mark Andrews
|
af5315fd93
|
<string.h> -> <isc/sting.h> for strsep().
|
2000-01-21 02:03:16 +00:00 |
|
Michael Graff
|
12e302d5c7
|
free the allocated aliaslen array when freeing the alias name point array
|
2000-01-21 00:00:20 +00:00 |
|
Michael Graff
|
88ed7381f1
|
checkpoint; return lengths of each name as well as the name itself.
|
2000-01-20 23:58:27 +00:00 |
|
Michael Graff
|
17614edd7e
|
small optimization; no functional change
|
2000-01-20 21:34:08 +00:00 |
|
Mark Andrews
|
1c25465a58
|
int/void setnetent
|
2000-01-20 05:20:31 +00:00 |
|
Michael Graff
|
6448ffb2b9
|
use unsigned char, not void * in our buffers
|
2000-01-20 00:11:52 +00:00 |
|
Andreas Gustafsson
|
f78d0a48d8
|
SRCS did not match OBJS
|
2000-01-19 21:34:50 +00:00 |
|
Mark Andrews
|
a32d332e52
|
Remove AI_MASK
|
2000-01-18 23:38:19 +00:00 |
|
Bob Halley
|
1b18bdae7d
|
cleanup netdb.h
|
2000-01-18 21:13:29 +00:00 |
|
Bob Halley
|
0b79f0bbb2
|
add netdb.h
|
2000-01-18 21:11:40 +00:00 |
|
Andreas Gustafsson
|
1a087ddc8f
|
#endif was misspelled as #define
|
2000-01-18 17:28:25 +00:00 |
|
Mark Andrews
|
3b5362b073
|
checkpoint
|
2000-01-18 05:37:58 +00:00 |
|