Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/bind9
File: getaddresses.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 BIND9_GETADDRESSES_H
[12] Fix | Delete
#define BIND9_GETADDRESSES_H 1
[13] Fix | Delete
[14] Fix | Delete
/*! \file bind9/getaddresses.h */
[15] Fix | Delete
[16] Fix | Delete
#include <isc/lang.h>
[17] Fix | Delete
#include <isc/types.h>
[18] Fix | Delete
[19] Fix | Delete
#include <isc/net.h>
[20] Fix | Delete
[21] Fix | Delete
ISC_LANG_BEGINDECLS
[22] Fix | Delete
[23] Fix | Delete
isc_result_t
[24] Fix | Delete
bind9_getaddresses(const char *hostname, in_port_t port,
[25] Fix | Delete
isc_sockaddr_t *addrs, int addrsize, int *addrcount);
[26] Fix | Delete
/*%<
[27] Fix | Delete
* Use the system resolver to get the addresses associated with a hostname.
[28] Fix | Delete
* If successful, the number of addresses found is returned in 'addrcount'.
[29] Fix | Delete
* If a hostname lookup is performed and addresses of an unknown family is
[30] Fix | Delete
* seen, it is ignored. If more than 'addrsize' addresses are seen, the
[31] Fix | Delete
* first 'addrsize' are returned and the remainder silently truncated.
[32] Fix | Delete
*
[33] Fix | Delete
* This routine may block. If called by a program using the isc_app
[34] Fix | Delete
* framework, it should be surrounded by isc_app_block()/isc_app_unblock().
[35] Fix | Delete
*
[36] Fix | Delete
* Requires:
[37] Fix | Delete
*\li 'hostname' is not NULL.
[38] Fix | Delete
*\li 'addrs' is not NULL.
[39] Fix | Delete
*\li 'addrsize' > 0
[40] Fix | Delete
*\li 'addrcount' is not NULL.
[41] Fix | Delete
*
[42] Fix | Delete
*
[43] Fix | Delete
* Returns:
[44] Fix | Delete
*\li #ISC_R_SUCCESS
[45] Fix | Delete
*\li #ISC_R_NOTFOUND
[46] Fix | Delete
*\li #ISC_R_FAMILYNOSUPPORT - 'hostname' is an IPv6 address, and IPv6 is
[47] Fix | Delete
* not supported.
[48] Fix | Delete
*/
[49] Fix | Delete
[50] Fix | Delete
ISC_LANG_ENDDECLS
[51] Fix | Delete
[52] Fix | Delete
#endif /* BIND9_GETADDRESSES_H */
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function