Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/bind9/isccfg
File: aclconf.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 ISCCFG_ACLCONF_H
[12] Fix | Delete
#define ISCCFG_ACLCONF_H 1
[13] Fix | Delete
[14] Fix | Delete
#include <inttypes.h>
[15] Fix | Delete
[16] Fix | Delete
#include <isc/lang.h>
[17] Fix | Delete
#include <isc/refcount.h>
[18] Fix | Delete
[19] Fix | Delete
#include <isccfg/cfg.h>
[20] Fix | Delete
[21] Fix | Delete
#include <dns/geoip.h>
[22] Fix | Delete
#include <dns/types.h>
[23] Fix | Delete
[24] Fix | Delete
typedef struct cfg_aclconfctx {
[25] Fix | Delete
ISC_LIST(dns_acl_t) named_acl_cache;
[26] Fix | Delete
isc_mem_t *mctx;
[27] Fix | Delete
#if defined(HAVE_GEOIP) || defined(HAVE_GEOIP2)
[28] Fix | Delete
dns_geoip_databases_t *geoip;
[29] Fix | Delete
#endif
[30] Fix | Delete
isc_refcount_t references;
[31] Fix | Delete
} cfg_aclconfctx_t;
[32] Fix | Delete
[33] Fix | Delete
/***
[34] Fix | Delete
*** Functions
[35] Fix | Delete
***/
[36] Fix | Delete
[37] Fix | Delete
ISC_LANG_BEGINDECLS
[38] Fix | Delete
[39] Fix | Delete
isc_result_t
[40] Fix | Delete
cfg_aclconfctx_create(isc_mem_t *mctx, cfg_aclconfctx_t **ret);
[41] Fix | Delete
/*
[42] Fix | Delete
* Creates and initializes an ACL configuration context.
[43] Fix | Delete
*/
[44] Fix | Delete
[45] Fix | Delete
void
[46] Fix | Delete
cfg_aclconfctx_detach(cfg_aclconfctx_t **actxp);
[47] Fix | Delete
/*
[48] Fix | Delete
* Removes a reference to an ACL configuration context; when references
[49] Fix | Delete
* reaches zero, clears the contents and deallocate the structure.
[50] Fix | Delete
*/
[51] Fix | Delete
[52] Fix | Delete
void
[53] Fix | Delete
cfg_aclconfctx_attach(cfg_aclconfctx_t *src, cfg_aclconfctx_t **dest);
[54] Fix | Delete
/*
[55] Fix | Delete
* Attaches a pointer to an existing ACL configuration context.
[56] Fix | Delete
*/
[57] Fix | Delete
[58] Fix | Delete
isc_result_t
[59] Fix | Delete
cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx,
[60] Fix | Delete
isc_log_t *lctx, cfg_aclconfctx_t *ctx,
[61] Fix | Delete
isc_mem_t *mctx, unsigned int nest_level,
[62] Fix | Delete
dns_acl_t **target);
[63] Fix | Delete
[64] Fix | Delete
isc_result_t
[65] Fix | Delete
cfg_acl_fromconfig2(const cfg_obj_t *caml, const cfg_obj_t *cctx,
[66] Fix | Delete
isc_log_t *lctx, cfg_aclconfctx_t *ctx,
[67] Fix | Delete
isc_mem_t *mctx, unsigned int nest_level,
[68] Fix | Delete
uint16_t family, dns_acl_t **target);
[69] Fix | Delete
/*
[70] Fix | Delete
* Construct a new dns_acl_t from configuration data in 'caml' and
[71] Fix | Delete
* 'cctx'. Memory is allocated through 'mctx'.
[72] Fix | Delete
*
[73] Fix | Delete
* Any named ACLs referred to within 'caml' will be be converted
[74] Fix | Delete
* into nested dns_acl_t objects. Multiple references to the same
[75] Fix | Delete
* named ACLs will be converted into shared references to a single
[76] Fix | Delete
* nested dns_acl_t object when the referring objects were created
[77] Fix | Delete
* passing the same ACL configuration context 'ctx'.
[78] Fix | Delete
*
[79] Fix | Delete
* cfg_acl_fromconfig() is a backward-compatible version of
[80] Fix | Delete
* cfg_acl_fromconfig2(), which allows an address family to be
[81] Fix | Delete
* specified. If 'family' is not zero, then only addresses/prefixes
[82] Fix | Delete
* of a matching family (AF_INET or AF_INET6) may be configured.
[83] Fix | Delete
*
[84] Fix | Delete
* On success, attach '*target' to the new dns_acl_t object.
[85] Fix | Delete
*/
[86] Fix | Delete
[87] Fix | Delete
ISC_LANG_ENDDECLS
[88] Fix | Delete
[89] Fix | Delete
#endif /* ISCCFG_ACLCONF_H */
[90] Fix | Delete
[91] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function