Commit Graph

16 Commits

Author SHA1 Message Date
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
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
01933e9302 start changing from 'int' returns to 'lwres_result_t' 2000-02-23 01:46:34 +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
Mark Andrews
40de7483ff lint 2000-02-02 01:15:43 +00:00
Michael Graff
573be0bc6d misc parsing and rendering nits 2000-01-28 00:33:14 +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
1a70537f01 fix a bug introduced with today's changes. 2000-01-25 02:16:00 +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
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
0d9f5384a1 Implement lwres_getnamebyaddr() 2000-01-18 01:54:42 +00:00
Michael Graff
7dbf5a0b64 implement actual network I/O for lw resolver. All I/O is run through the
context, where the sockets are cached.  This means one context per thread.
2000-01-18 01:43:12 +00:00
Michael Graff
bab662ff0c all utility function file 2000-01-17 23:12:02 +00:00