Commit graph

38 commits

Author SHA1 Message Date
Mark Andrews
cbdd3a318b update lib copyrights 2004-03-06 08:15:48 +00:00
Mark Andrews
330673ab12 sync with HEAD 2003-10-10 06:34:10 +00:00
Mark Andrews
388732593d cleanup spaces before semicolons. 2003-09-24 03:47:21 +00:00
Mark Andrews
861e5d03f4 1285. [func] lwres: probe the system to see what address families
are currently in use.
2003-08-15 01:48:24 +00:00
Mark Andrews
c1df871a18 silence compiler warnings (HPUX/11i) 2003-07-23 06:57:59 +00:00
Mark Andrews
ba853e4f14 use lwres_inet_ntop instead of inet_ntop 2002-08-08 21:29:07 +00:00
Mark Andrews
bfea32015e update_copyrights 2002-08-06 06:09:07 +00:00
Mark Andrews
bef1bfc2fa 1351. [bug] lwres_getipnodebyname() returned the wrong name
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
2002-08-06 04:18:44 +00:00
Danny Mayer
5236050c0f Add support for win32 2001-07-18 02:37:15 +00:00
Andreas Gustafsson
34729dbcb3 split lwres/net.h into separate Unix and Win32 version to facilitate
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
fa5a42fbad 670. [bug] The lwres replacements for getaddrinfo and
getipnodebyname didn't properly check for the
                        existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Brian Wellington
8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +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
Brian Wellington
0308460880 Some of the lwres functions weren't calling lwres_conf_parse. 2000-07-07 19:43:10 +00:00
Brian Wellington
171d0db7f9 Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND 2000-06-27 23:20:34 +00:00
Brian Wellington
347ccc2716 Fixed a few errors in error recovery and uses of int instead of lwres_result_t 2000-06-26 23:23:28 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Michael Graff
efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
ca81c3971c 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.

Minor other ISC style cleanups.
2000-06-01 17:39:26 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Michael Graff
d736db6dc5 lwres get-addr-by-name returns a linked list, not an array, of names. This
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Bob Halley
35c842e05d deal with lwres portability issues 2000-02-04 06:04:16 +00:00
Mark Andrews
af9cfbc643 move reference implementations into lwres_ namespace. 2000-02-03 21:54:10 +00:00
Michael Graff
8c8360e5c3 UNUSED(), INSIST(), and REQUIRE() come from assert_p.h (private to lwres source) 2000-02-03 01:42:50 +00:00
Michael Graff
37d266d288 decouple the lwres functions too. These really need to be cleaned up in many other ways. 2000-02-03 01:37:29 +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
Mark Andrews
6add3af839 check result from lwres_context_create() 2000-01-28 06:24:01 +00:00
Mark Andrews
ea02307209 aix/solaris checkpoint 2000-01-27 13:04:15 +00:00
Mark Andrews
d0783e645b check for previous definitions of INADDRSZ and IN6ADDRSZ 2000-01-24 06:52:50 +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
Mark Andrews
3b5362b073 checkpoint 2000-01-18 05:37:58 +00:00
Mark Andrews
1a03b5e685 checkpoint. 2000-01-17 03:16:25 +00:00
Mark Andrews
7d2b275f7e checkpoint 2000-01-14 03:01:00 +00:00