Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/dns
File: fixedname.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_FIXEDNAME_H
[12] Fix | Delete
#define DNS_FIXEDNAME_H 1
[13] Fix | Delete
[14] Fix | Delete
/*****
[15] Fix | Delete
***** Module Info
[16] Fix | Delete
*****/
[17] Fix | Delete
[18] Fix | Delete
/*! \file dns/fixedname.h
[19] Fix | Delete
* \brief
[20] Fix | Delete
* Fixed-size Names
[21] Fix | Delete
*
[22] Fix | Delete
* dns_fixedname_t is a convenience type containing a name, an offsets
[23] Fix | Delete
* table, and a dedicated buffer big enough for the longest possible
[24] Fix | Delete
* name. This is typically used for stack-allocated names.
[25] Fix | Delete
*
[26] Fix | Delete
* MP:
[27] Fix | Delete
*\li The caller must ensure any required synchronization.
[28] Fix | Delete
*
[29] Fix | Delete
* Reliability:
[30] Fix | Delete
*\li No anticipated impact.
[31] Fix | Delete
*
[32] Fix | Delete
* Resources:
[33] Fix | Delete
*\li Per dns_fixedname_t:
[34] Fix | Delete
*\code
[35] Fix | Delete
* sizeof(dns_name_t) + sizeof(dns_offsets_t) +
[36] Fix | Delete
* sizeof(isc_buffer_t) + 255 bytes + structure padding
[37] Fix | Delete
*\endcode
[38] Fix | Delete
*
[39] Fix | Delete
* Security:
[40] Fix | Delete
*\li No anticipated impact.
[41] Fix | Delete
*
[42] Fix | Delete
* Standards:
[43] Fix | Delete
*\li None.
[44] Fix | Delete
*/
[45] Fix | Delete
[46] Fix | Delete
/*****
[47] Fix | Delete
***** Imports
[48] Fix | Delete
*****/
[49] Fix | Delete
[50] Fix | Delete
#include <isc/buffer.h>
[51] Fix | Delete
#include <isc/lang.h>
[52] Fix | Delete
[53] Fix | Delete
#include <dns/name.h>
[54] Fix | Delete
[55] Fix | Delete
/*****
[56] Fix | Delete
***** Types
[57] Fix | Delete
*****/
[58] Fix | Delete
[59] Fix | Delete
struct dns_fixedname {
[60] Fix | Delete
dns_name_t name;
[61] Fix | Delete
dns_offsets_t offsets;
[62] Fix | Delete
isc_buffer_t buffer;
[63] Fix | Delete
unsigned char data[DNS_NAME_MAXWIRE];
[64] Fix | Delete
};
[65] Fix | Delete
[66] Fix | Delete
ISC_LANG_BEGINDECLS
[67] Fix | Delete
[68] Fix | Delete
void
[69] Fix | Delete
dns_fixedname_init(dns_fixedname_t *fixed);
[70] Fix | Delete
[71] Fix | Delete
void
[72] Fix | Delete
dns_fixedname_invalidate(dns_fixedname_t *fixed);
[73] Fix | Delete
[74] Fix | Delete
dns_name_t *
[75] Fix | Delete
dns_fixedname_name(dns_fixedname_t *fixed);
[76] Fix | Delete
[77] Fix | Delete
dns_name_t *
[78] Fix | Delete
dns_fixedname_initname(dns_fixedname_t *fixed);
[79] Fix | Delete
[80] Fix | Delete
ISC_LANG_ENDDECLS
[81] Fix | Delete
[82] Fix | Delete
#endif /* DNS_FIXEDNAME_H */
[83] Fix | Delete
[84] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function