mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
libdns refactoring: get rid of multiple versions of dns_dt_create, dns_view_setcache, dns_zt_apply, dns_message_logfmtpacket, dns_message_logpacket, dns_ssutable_checkrules and dns_ttl_totext
This commit is contained in:
@@ -72,13 +72,8 @@ ttlfmt(unsigned int t, const char *s, isc_boolean_t verbose,
|
||||
* Derived from bind8 ns_format_ttl().
|
||||
*/
|
||||
isc_result_t
|
||||
dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) {
|
||||
return (dns_ttl_totext2(src, verbose, ISC_TRUE, target));
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dns_ttl_totext2(isc_uint32_t src, isc_boolean_t verbose,
|
||||
isc_boolean_t upcase, isc_buffer_t *target)
|
||||
dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose,
|
||||
isc_boolean_t upcase, isc_buffer_t *target)
|
||||
{
|
||||
unsigned secs, mins, hours, days, weeks, x;
|
||||
|
||||
|
Reference in New Issue
Block a user