Commit graph

79 commits

Author SHA1 Message Date
Brian Wellington
412e5c6211 Add lwres_udp_port, so that test programs can use a different port. 2000-06-19 21:56:48 +00:00
Michael Graff
efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +00:00
Michael Graff
99dd8505ed Bring up to spec. Patches from pr 134, 135 2000-06-15 18:28: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
a5e5d67faa gai_strerror is spec'd by RFC 2133 as char *, with no const qualifier.
I'll have to see about how this can be handled more suitably by the code,
but for now, the return value has been revered to not being const qualified.
2000-06-01 18:29:27 +00:00
David Lawrence
8612a0d515 gai_strerror returns const char * now; this change was (erroneously) only made
to netdb.h in my local tree, not to the file that generates it ...
2000-06-01 18:10:37 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
e6ce1a0ea9 use _PLATFORM_NEEDINETIN6H 2000-05-18 22:43:48 +00:00
David Lawrence
e52750239e Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*
to better clarify what is going on with regard to the symbol.
2000-05-13 18:18:08 +00:00
Mark Andrews
17d0495c33 160. [cleanup] getnet*() are not going to be implemented at this
stage.
2000-05-09 02:21:58 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
James Brister
edcd66a7dd Fixed typo. 2000-05-02 19:43:34 +00:00
Michael Graff
58ff88cca7 use 'flags' rather than 'attributes' and rename pkt->flags to pkt->pktflags 2000-05-02 18:46:44 +00:00
Michael Graff
46fb173b20 add 'attributes' flags to lwres packets 2000-05-02 18:18:45 +00:00
Michael Graff
98e8a46972 comments from code review 2000-04-26 21:54:50 +00:00
Michael Graff
a02ad3bc33 bump to more aliases and more addresses 2000-04-25 22:46:09 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley
dda4bfe649 update copyrights 2000-03-23 19:52:19 +00:00
Michael Graff
915723e400 Copy addresses out, rather than keeping pointers to them from a buffer. This
simplifies code at the expense of copying more.  It is, however, the
easiest way to get sortlist working correctly.  ipv6 addresses now sort
as well.
2000-03-12 01:58:41 +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
Michael Graff
a193a7a1f0 s/int/lwres_result_t/ 2000-02-24 00:12:40 +00:00
Michael Graff
01933e9302 start changing from 'int' returns to 'lwres_result_t' 2000-02-23 01:46:34 +00:00
Michael Graff
9ca3879f71 formatting nits, and make 'search' work. 2000-02-18 01:09:36 +00:00
James Brister
4838e5f7c2 various declarations for resolv.conf parser. 2000-02-16 17:42:16 +00:00
Bob Halley
a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Bob Halley
0dc24b49b8 ensure we have size_t defined. 2000-02-07 22:35:31 +00:00
Bob Halley
35c842e05d deal with lwres portability issues 2000-02-04 06:04:16 +00:00
Bob Halley
b25b18a41e add 2000-02-04 06:02:06 +00:00
Andreas Gustafsson
b008da894e suppress compiler warnings about redefining macros on OSF/1 2000-02-04 01:20:56 +00:00
Bob Halley
0fffa9dcca update copyright 2000-02-03 23:17:52 +00:00
Mark Andrews
af9cfbc643 move reference implementations into lwres_ namespace. 2000-02-03 21:54:10 +00:00
Mark Andrews
c2a716690f typo 2000-02-03 02:21:18 +00:00
Mark Andrews
89147fdde8 complete isc/lang.h -> lwres/lang.h transition. 2000-02-03 02:17:07 +00:00
Michael Graff
7a166c5c61 completely decouple the lwres library from libisc. Bad michael for using isc/int.h and isc/lang.h, bad Mark for adding isc/tring.h, isc/net.h, and a few others. 2000-02-03 01:28:52 +00:00
Michael Graff
b91bbaf50c implement timeouts 2000-02-01 02:59:40 +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
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
f1890a6c56 int endhostent support 2000-01-24 12:10:49 +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
eda879bf41 Check for AI_NUMERICHOST seperately. 2000-01-21 02:08:24 +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
6448ffb2b9 use unsigned char, not void * in our buffers 2000-01-20 00:11:52 +00:00