1. 01 Aug, 2000 1 commit
  2. 27 Jul, 2000 1 commit
  3. 13 Jul, 2000 4 commits
  4. 10 Jul, 2000 1 commit
  5. 26 Jun, 2000 4 commits
  6. 23 Jun, 2000 1 commit
  7. 22 Jun, 2000 1 commit
  8. 21 Jun, 2000 2 commits
  9. 20 Jun, 2000 1 commit
  10. 15 Jun, 2000 1 commit
  11. 08 Jun, 2000 1 commit
  12. 02 Jun, 2000 2 commits
  13. 01 Jun, 2000 2 commits
    • David Lawrence's avatar
      Megacommit of many files. · 87cafc5e
      David Lawrence authored
      Mostly, several functions that take pointers as arguments, almost
      always char * pointers, had those pointers qualified with "const".
      Those that returned pointers to previously const-qualified arguments
      had their return values qualified as const.  Some structure members
      were qualified as const to retain that attribute from the variables
      from which they were assigned.
      
      The macro DE_CONST was added to isc/util.h to deal with a handful of very
      special places where something is qualified as const but really needs to have
      its const qualifier removed.
      
      Also cleaned up a few places where variable names clashed with reserved
      identifiers.  (Which mostly works fine, but strictly speaking is undefined
      by the standard.)
      
      Minor other ISC style cleanups.
      87cafc5e
    • Michael Graff's avatar
  14. 31 May, 2000 1 commit
  15. 24 May, 2000 1 commit
  16. 23 May, 2000 2 commits
  17. 22 May, 2000 1 commit
  18. 19 May, 2000 1 commit
    • Michael Graff's avatar
      Merge the mlg-20000518 branch onto the mainline. Change summary: · 46993e1d
      Michael Graff authored
      	dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
      	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
      	a bound, connected TCP socket, while _getudp() will search for
      	a sharable UDP socket, and if found, attach to it and return a
      	pointer to it.  If one is not found, it will create a udp socket,
      	bind it to a supplied local address, and create a new dispatcher
      	around it.
      
      	dns_dispatch_remove{request,response}() no longer take the dispatch
      	as an argument.
      
      	query-source can now be set per view.
      
      	The dispatch manager holds onto three memory pools, one for
      	allocating dispatchers from, one for events, and one for
      	requests/replies.  The free list on these pools is hard-coded,
      	but set to 1024.  This keeps us from having to dig into the
      	isc_mem_t the pools draw from as often.
      
      	dns_resolver_create() and dns_view_createresolver() require that
      	valid dispatchers be passed in; dispatchers are no longer created
      	for the caller.
      46993e1d
  19. 14 May, 2000 2 commits
    • David Lawrence's avatar
      line 356: remark(1174): parameter "msg" was declared but never referenced · 02b152eb
      David Lawrence authored
      line 356: remark(1174): parameter "dev" was declared but never referenced
      
      This is true when ISC_NET_BSD44MSGHDR is not defined.  UNUSED()s were added.
      
      line 1580: remark(1552): variable "task" was set but never used
      line 1670: remark(1552): variable "task" was set but never used
      
      I removed the stack variable and its assignment in each case.
      
      line 2915: remark(1552): variable "ret" was set but never used
      
      It was apparent that the variable was meant to be the return value
      of isc_socket_getsockname, so the return statement was changed to use it.
      
      Also ...
      
      Changed function declarations to ISC coding style.
      
      Wrapped two lines that were wider than column 79.
      
      Removed two UNUSED() macros for variables that were no longer unused.
      02b152eb
    • Andreas Gustafsson's avatar
      use isc_sockaddr_format() instead of a static function doing · bbf66738
      Andreas Gustafsson authored
      the same thing
      bbf66738
  20. 11 May, 2000 3 commits
  21. 10 May, 2000 1 commit
  22. 08 May, 2000 1 commit
    • David Lawrence's avatar
      Megacommit of dozens of files. · 1a69a1a7
      David Lawrence authored
      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.
          */
      1a69a1a7
  23. 03 May, 2000 2 commits
  24. 28 Apr, 2000 1 commit
  25. 27 Apr, 2000 1 commit
    • David Lawrence's avatar
      103. [func] libisc buffer API changes for <isc/buffer.h>: · 6e49e91b
      David Lawrence authored
                              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.
      6e49e91b
  26. 19 Apr, 2000 1 commit