Commit Graph

27 Commits

Author SHA1 Message Date
Andreas Gustafsson
d5ffdc427e make log messages conform to current coding standards 2000-06-08 17:38:06 +00:00
David Lawrence
e3f5561ec9 DP()'s format argument prototyped as const.
A pointers-to-function should not be cast to a pointer-to-object.
2000-06-01 18:53:53 +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
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +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
David Lawrence
b295930144 bin/lwresd/client.c needs <string.h> for memset() prototype 2000-04-06 16:15:28 +00:00
Andreas Gustafsson
f4d3780cb6 moved several #includes from bin/lwresd/client.h to .c files 2000-04-04 20:13:36 +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
5be443d94b implement a 10 minute bitstring-reverse-query avoidance if we tried once and
it failed with ISC_R_FAILURE, DNS_R_SERVFAIL, or DNS_R_FORMERR.
This makes it so we don't try the bitstring lookup when it will most
likely fail.
2000-02-16 01:51:17 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Bob Halley
54e587cfac lint 2000-02-01 20:16:44 +00:00
Michael Graff
e31db4546a make get-name-by-addr work fully. 2000-02-01 00:27:03 +00:00
Michael Graff
d95e6b2631 add the byaddr bits I hacked on Friday 2000-01-31 19:04:58 +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
7f993e5316 checkpoint; another leak found. Error replies work correctly now, too. 2000-01-26 01:32:19 +00:00
Michael Graff
ab41280797 checkpoint; no memory leaks, finds run 2000-01-26 01:18:55 +00:00
Michael Graff
5294500a3d checkpoint 2000-01-25 02:22:17 +00:00
Michael Graff
4ae4759f0a fix a few memory leaks, but create a new one. Grr. 2000-01-25 02:16:20 +00:00
Michael Graff
2343e814ea checkpoint 2000-01-25 01:48:53 +00:00
Michael Graff
3e5981eec2 checkpoint 2000-01-21 01:32:10 +00:00
Michael Graff
0061a9d4a3 add client state bits, and start on individual parsing functions. 2000-01-20 21:35:47 +00:00
Michael Graff
df11e74a70 each client mgr attaches to the view once on startup, and once on exit. 2000-01-20 01:24:53 +00:00
Michael Graff
bcb94f473f create a view and all the goop associated with it. 2000-01-20 00:54:27 +00:00
Michael Graff
f497ab709d checkpoint 2000-01-20 00:07:51 +00:00
Michael Graff
dd5f72cc1c checkpoint 2000-01-20 00:05:11 +00:00