Hackfut Security File Manager
Current Path:
/usr/include/dns
usr
/
include
/
dns
/
📁
..
📄
acl.h
(6.28 KB)
📄
adb.h
(17.82 KB)
📄
byaddr.h
(4.41 KB)
📄
cache.h
(7.41 KB)
📄
callbacks.h
(2.19 KB)
📄
cert.h
(1.94 KB)
📄
compress.h
(6.08 KB)
📄
db.h
(40.33 KB)
📄
dbiterator.h
(7.69 KB)
📄
dbtable.h
(3.6 KB)
📄
diff.h
(7.45 KB)
📄
dispatch.h
(13.25 KB)
📄
dlz.h
(10.89 KB)
📄
dnssec.h
(10.84 KB)
📄
ds.h
(1.87 KB)
📄
dynamic_db.h
(1.85 KB)
📄
enumclass.h
(1.75 KB)
📄
enumtype.h
(6.57 KB)
📄
events.h
(3.87 KB)
📄
fixedname.h
(2.18 KB)
📄
forward.h
(3.52 KB)
📄
iptable.h
(1.88 KB)
📄
journal.h
(8.27 KB)
📄
keyflags.h
(1.76 KB)
📄
keytable.h
(9.97 KB)
📄
keyvalues.h
(4.22 KB)
📄
lib.h
(1.68 KB)
📄
log.h
(4.05 KB)
📄
master.h
(9.18 KB)
📄
masterdump.h
(9.43 KB)
📄
message.h
(37.08 KB)
📄
name.h
(35.02 KB)
📄
ncache.h
(5.06 KB)
📄
nsec.h
(2.27 KB)
📄
peer.h
(5.31 KB)
📄
portlist.h
(2.48 KB)
📄
private.h
(1.87 KB)
📄
rbt.h
(33.72 KB)
📄
rcode.h
(2.93 KB)
📄
rdata.h
(20.83 KB)
📄
rdataclass.h
(2.26 KB)
📄
rdatalist.h
(2.83 KB)
📄
rdataset.h
(19.07 KB)
📄
rdatasetiter.h
(4.35 KB)
📄
rdataslab.h
(4.57 KB)
📄
rdatastruct.h
(76.03 KB)
📄
rdatatype.h
(2.32 KB)
📄
request.h
(10.2 KB)
📄
resolver.h
(15.87 KB)
📄
result.h
(8.29 KB)
📄
rootns.h
(1.4 KB)
📄
rpz.h
(5.31 KB)
📄
rrl.h
(6.83 KB)
📄
sdb.h
(7.17 KB)
📄
sdlz.h
(14.1 KB)
📄
secalg.h
(2.18 KB)
📄
secproto.h
(2.03 KB)
📄
soa.h
(2.69 KB)
📄
ssu.h
(6.61 KB)
📄
tcpmsg.h
(3.56 KB)
📄
time.h
(2.04 KB)
📄
tkey.h
(7.95 KB)
📄
tsig.h
(8.52 KB)
📄
ttl.h
(2.08 KB)
📄
types.h
(12.01 KB)
📄
validator.h
(7.32 KB)
📄
version.h
(1.18 KB)
📄
view.h
(28.36 KB)
📄
xfrin.h
(3.06 KB)
📄
zone.h
(45.12 KB)
📄
zonekey.h
(1.25 KB)
📄
zt.h
(4.54 KB)
Editing: forward.h
/* * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ /* $Id: forward.h,v 1.13 2009-09-02 23:48:02 tbox Exp $ */ #ifndef DNS_FORWARD_H #define DNS_FORWARD_H 1 /*! \file dns/forward.h */ #include <isc/lang.h> #include <isc/result.h> #include <dns/types.h> ISC_LANG_BEGINDECLS struct dns_forwarders { isc_sockaddrlist_t addrs; dns_fwdpolicy_t fwdpolicy; }; isc_result_t dns_fwdtable_create(isc_mem_t *mctx, dns_fwdtable_t **fwdtablep); /*%< * Creates a new forwarding table. * * Requires: * \li mctx is a valid memory context. * \li fwdtablep != NULL && *fwdtablep == NULL * * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOMEMORY */ isc_result_t dns_fwdtable_add(dns_fwdtable_t *fwdtable, dns_name_t *name, isc_sockaddrlist_t *addrs, dns_fwdpolicy_t policy); /*%< * Adds an entry to the forwarding table. The entry associates * a domain with a list of forwarders and a forwarding policy. The * addrs list is copied if not empty, so the caller should free its copy. * * Requires: * \li fwdtable is a valid forwarding table. * \li name is a valid name * \li addrs is a valid list of sockaddrs, which may be empty. * * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOMEMORY */ isc_result_t dns_fwdtable_delete(dns_fwdtable_t *fwdtable, dns_name_t *name); /*%< * Removes an entry for 'name' from the forwarding table. If an entry * that exactly matches 'name' does not exist, ISC_R_NOTFOUND will be returned. * * Requires: * \li fwdtable is a valid forwarding table. * \li name is a valid name * * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOTFOUND */ isc_result_t dns_fwdtable_find(dns_fwdtable_t *fwdtable, dns_name_t *name, dns_forwarders_t **forwardersp); /*%< * Finds a domain in the forwarding table. The closest matching parent * domain is returned. * * Requires: * \li fwdtable is a valid forwarding table. * \li name is a valid name * \li forwardersp != NULL && *forwardersp == NULL * * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOTFOUND */ isc_result_t dns_fwdtable_find2(dns_fwdtable_t *fwdtable, dns_name_t *name, dns_name_t *foundname, dns_forwarders_t **forwardersp); /*%< * Finds a domain in the forwarding table. The closest matching parent * domain is returned. * * Requires: * \li fwdtable is a valid forwarding table. * \li name is a valid name * \li forwardersp != NULL && *forwardersp == NULL * \li foundname to be NULL or a valid name with buffer. * * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOTFOUND */ void dns_fwdtable_destroy(dns_fwdtable_t **fwdtablep); /*%< * Destroys a forwarding table. * * Requires: * \li fwtablep != NULL && *fwtablep != NULL * * Ensures: * \li all memory associated with the forwarding table is freed. */ ISC_LANG_ENDDECLS #endif /* DNS_FORWARD_H */
Upload File
Create Folder