Commit Graph
91 Commits
Author SHA1 Message Date
Andreas Gustafsson fce25ebb16 pullup:
313.   [bug]           When parsing resolv.conf, don't terminate on an
                        error.  Instead, parse as much as possible, but
                        still return an error if one was found.

 312.   [bug]           Increase the number of allowed elements in the
                        resolv.conf search path from 6 to 8.  If there
                        are more than this, ignore the remainder rather
                        than returning a failure in lwres_conf_parse.
2000-07-10 20:58:08 +00:00
Andreas Gustafsson 4db3ee516e pullup: Lots of the comments were wrong. 2000-07-10 20:52:26 +00:00
Andreas Gustafsson cb2e6b4e8d pullup:
300.   [bug]           Using both <isc/net.h> and <lwres/net.h> didn't work
                        on platforms lacking IPv6 because each included their
                        own ipv6 header file for the missing definitions.  Now
                        each library's ipv6.h defines the wrapper symbol of
                        the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-03 21:57:56 +00:00
Brian Wellington cf781da93d make install didn't work when using separate build dir 2000-06-30 01:25:29 +00:00
David Lawrence 9b639db360 use protect netdb.h and rpc/netdb.h from check-includes.pl recommended removal 2000-06-23 03:14:04 +00:00
David Lawrence be65f56d23 does not need stddef.h, lwres/int.h or lwres/result.h 2000-06-23 03:13:26 +00:00
David Lawrence f7be916879 does not need lwres/lang.h 2000-06-23 03:12:42 +00:00
David Lawrence cf203e0ece does not need stddef.h or lwres/int.h 2000-06-23 03:12:28 +00:00
David Lawrence a41242165c use lwres/lang.h, protect some files from check-includes.pl recommended removal 2000-06-23 03:12:06 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence b602710169 update_copyrights 2000-06-21 22:20:18 +00:00
Brian Wellington 864d6c7042 Add LWRES_R_INCOMPLETE 2000-06-21 18:18:22 +00:00
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