2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

180 Commits

Author SHA1 Message Date
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +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
Bob Halley
d62314ba31 dbtable api change 2000-04-19 18:50:00 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
43a5758df7 TKEYs go in the answer section of responses. 2000-03-28 03:16:40 +00:00
Brian Wellington
21fbf56571 Use isc_mem_get(0) rather than NULL pointers in regions 2000-03-17 19:50:22 +00:00
Brian Wellington
4d6ad56819 Require incoming TKEY queries to be signed. 2000-03-08 20:15:16 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Andreas Gustafsson
4328bbbe93 #include <dns/confctx.h> is no longer needed 2000-01-27 19:39:59 +00:00
Brian Wellington
fb01226bcd - generated TSIG keys can expire
- TKEY actually uses class ANY now
2000-01-24 22:22:51 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Brian Wellington
b6666e61dc More TSIG/TKEY minor fixes (including a few more plugged memory leaks) 2000-01-22 04:45:17 +00:00
Brian Wellington
8dd915daf3 obvious memory leaks 2000-01-21 22:51:48 +00:00
Brian Wellington
b984520acc major TSIG/TKEY cleanup 2000-01-21 20:18:41 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
Bob Halley
65f9103cc5 destroy routine now does nothing if init failed 1999-11-05 20:19:24 +00:00
Brian Wellington
37300957db added dns_tkey_destroy, other minor fixes 1999-11-05 16:53:47 +00:00
Brian Wellington
e9455289ec fill in creator on new TSIG, improved identity handling 1999-11-03 16:53:56 +00:00
Brian Wellington
8ba45599d6 processdelete checks the key's identity 1999-11-02 19:56:34 +00:00
Brian Wellington
1f94705de9 uninitialized variable 1999-11-02 00:46:36 +00:00
Brian Wellington
ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Mark Andrews
9a4a3583ab initalise hexdigits so that the initaliser is not larger that the array. 1999-10-29 05:41:49 +00:00
Brian Wellington
1c1d1a5a96 Creating a TSIG key from a Diffie Hellman exchange is now tkey-01 compatible 1999-10-28 20:00:04 +00:00
Brian Wellington
e552b98037 - TSIG keys are created from the config structures
- TSIG key initialization cleanup
1999-10-27 19:59:34 +00:00
Brian Wellington
8946128190 tkey memory leak 1999-10-27 17:50:58 +00:00
Brian Wellington
f879d3ee27 - Return the generated key from dns_tkey_processdhresponse
- Check for NOERROR in dns_tkey_process*
1999-10-26 21:57:53 +00:00
Brian Wellington
84ac4c6064 dst_secret_size updates
temporarily use dns_rdataclass_in instead of class 0
1999-10-26 19:32:37 +00:00
Bob Halley
ff936a56ea fix macro problems 1999-10-26 17:25:07 +00:00
Brian Wellington
d864d899d7 tkey snapshot 1999-10-26 15:39:59 +00:00