1. 01 Jun, 2000 1 commit
    • David Lawrence's avatar
      Megacommit of many files. · 6d12fdf9
      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 is used to deal with a handful of very special
      places where something is qualified as const but really needs to have
      its const qualifier removed.
      
      rdata.c now defines macros for the prototypes of the basic rdata functions,
      and all of the lib/dns/rdata/**/*.c files now use them.
      
      Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
      so assigning it to an unsigned int should use a cast.  The type of an
      enum member is int, so there are some conversion issues there, too.)
      
      A pointers-to-function should not be cast to a pointer-to-object.
      
      Variables should not be named for C reserved identifiers.
      
      One or two set-but-not-used variables removed.
      
      Minor other ISC style cleanups.
      6d12fdf9
  2. 22 May, 2000 1 commit
  3. 05 May, 2000 1 commit
  4. 04 May, 2000 1 commit
  5. 28 Apr, 2000 1 commit
  6. 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
  7. 07 Apr, 2000 1 commit
  8. 06 Apr, 2000 1 commit
  9. 16 Mar, 2000 2 commits
  10. 03 Feb, 2000 1 commit
  11. 23 Dec, 1999 1 commit
  12. 15 Sep, 1999 1 commit
  13. 31 Aug, 1999 1 commit
  14. 12 Aug, 1999 1 commit
  15. 02 Aug, 1999 1 commit
  16. 08 Jun, 1999 1 commit
  17. 07 May, 1999 1 commit
  18. 05 May, 1999 1 commit
  19. 24 Feb, 1999 1 commit
  20. 22 Feb, 1999 1 commit
  21. 15 Feb, 1999 1 commit
  22. 02 Feb, 1999 1 commit
  23. 22 Jan, 1999 2 commits
  24. 20 Jan, 1999 1 commit
  25. 19 Jan, 1999 3 commits