Commit Graph

26 Commits

Author SHA1 Message Date
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
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
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Bob Halley
f0558da29c AXFR and IXFR are not yet implemented; reject attempts to use
them.  [RT 74]
2000-03-22 21:39:07 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Bob Halley
bd02a77484 add norecurse 2000-02-02 02:17:31 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Bob Halley
9f9c0a0a33 make port 53 the default 1999-11-01 18:26:05 +00:00
David Lawrence
e9dd5da241 use isc/netdb.h instead of netdb.h 1999-10-18 00:23:07 +00:00
Bob Halley
bb68c34181 allow EDNS buffer size to be set; print count received 1999-10-05 21:19:28 +00:00
David Lawrence
a252c2771f include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,
and/or use type in_port_t instead of unsigned int for ports
1999-10-02 02:54:16 +00:00
Michael Graff
8aa6d34be7 use the new API rules for dns_message_t and names 1999-09-10 20:25:51 +00:00
Bob Halley
6181350b1a init bufferlist 1999-09-07 01:55:54 +00:00
Michael Graff
da329abe35 Teach sdig to use the new sendtov() and recvv() calls 1999-09-06 04:47:35 +00:00
Bob Halley
ac77fece9a EDNS0 1999-09-02 01:52:31 +00:00
Bob Halley
bf555703f2 OPT support 1999-09-01 20:50:34 +00:00
Andreas Gustafsson
8dec0e1a3e dns_message_parse now takes new argument 'preserve_order' 1999-08-20 06:09:46 +00:00
Andreas Gustafsson
4033d792a8 NetBSD needs 'extern int h_errno;' 1999-08-17 05:55:55 +00:00
Bob Halley
1cbcfd23d3 create socket with the right protocol family 1999-08-17 02:50:09 +00:00
Bob Halley
af6d447524 fix bad 'if' 1999-08-17 02:11:04 +00:00
Bob Halley
3d3144b970 add hex dumping if message parsing fails 1999-08-17 01:25:36 +00:00
Bob Halley
1a638f641b fix more buglets 1999-08-17 01:21:21 +00:00
Bob Halley
27a5e02b8b fix buglets 1999-08-17 01:18:59 +00:00
Bob Halley
7732d70d2f add sdig 1999-08-17 01:04:45 +00:00