Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/dns
File: time.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
#ifndef DNS_TIME_H
[12] Fix | Delete
#define DNS_TIME_H 1
[13] Fix | Delete
[14] Fix | Delete
/*! \file dns/time.h */
[15] Fix | Delete
[16] Fix | Delete
/***
[17] Fix | Delete
*** Imports
[18] Fix | Delete
***/
[19] Fix | Delete
[20] Fix | Delete
#include <inttypes.h>
[21] Fix | Delete
[22] Fix | Delete
#include <isc/buffer.h>
[23] Fix | Delete
#include <isc/lang.h>
[24] Fix | Delete
[25] Fix | Delete
ISC_LANG_BEGINDECLS
[26] Fix | Delete
[27] Fix | Delete
/***
[28] Fix | Delete
*** Functions
[29] Fix | Delete
***/
[30] Fix | Delete
[31] Fix | Delete
isc_result_t
[32] Fix | Delete
dns_time64_fromtext(const char *source, int64_t *target);
[33] Fix | Delete
/*%<
[34] Fix | Delete
* Convert a date and time in YYYYMMDDHHMMSS text format at 'source'
[35] Fix | Delete
* into to a 64-bit count of seconds since Jan 1 1970 0:00 GMT.
[36] Fix | Delete
* Store the count at 'target'.
[37] Fix | Delete
*/
[38] Fix | Delete
[39] Fix | Delete
isc_result_t
[40] Fix | Delete
dns_time32_fromtext(const char *source, uint32_t *target);
[41] Fix | Delete
/*%<
[42] Fix | Delete
* Like dns_time64_fromtext, but returns the second count modulo 2^32
[43] Fix | Delete
* as per RFC2535.
[44] Fix | Delete
*/
[45] Fix | Delete
[46] Fix | Delete
[47] Fix | Delete
isc_result_t
[48] Fix | Delete
dns_time64_totext(int64_t value, isc_buffer_t *target);
[49] Fix | Delete
/*%<
[50] Fix | Delete
* Convert a 64-bit count of seconds since Jan 1 1970 0:00 GMT into
[51] Fix | Delete
* a YYYYMMDDHHMMSS text representation and append it to 'target'.
[52] Fix | Delete
*/
[53] Fix | Delete
[54] Fix | Delete
isc_result_t
[55] Fix | Delete
dns_time32_totext(uint32_t value, isc_buffer_t *target);
[56] Fix | Delete
/*%<
[57] Fix | Delete
* Like dns_time64_totext, but for a 32-bit cyclic time value.
[58] Fix | Delete
* Of those dates whose counts of seconds since Jan 1 1970 0:00 GMT
[59] Fix | Delete
* are congruent with 'value' modulo 2^32, the one closest to the
[60] Fix | Delete
* current date is chosen.
[61] Fix | Delete
*/
[62] Fix | Delete
[63] Fix | Delete
int64_t
[64] Fix | Delete
dns_time64_from32(uint32_t value);
[65] Fix | Delete
/*%<
[66] Fix | Delete
* Covert a 32-bit cyclic time value into a 64 bit time stamp.
[67] Fix | Delete
*/
[68] Fix | Delete
[69] Fix | Delete
ISC_LANG_ENDDECLS
[70] Fix | Delete
[71] Fix | Delete
#endif /* DNS_TIME_H */
[72] Fix | Delete
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function