Searched defs:table (Results 1 - 16 of 16) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/
H A Dforward.c41 dns_rbt_t *table; member in struct:dns_fwdtable
61 fwdtable->table = NULL;
62 result = dns_rbt_create(mctx, auto_detach, fwdtable, &fwdtable->table);
78 dns_rbt_destroy(&fwdtable->table);
117 result = dns_rbt_addname(fwdtable->table, name, forwarders);
152 result = dns_rbt_findname(fwdtable->table, name, 0, foundname,
171 dns_rbt_destroy(&fwdtable->table);
H A Dkeytable.c44 dns_rbt_t *table; member in struct:dns_keytable
86 keytable->table = NULL;
87 result = dns_rbt_create(mctx, free_keynode, mctx, &keytable->table);
111 dns_rbt_destroy(&keytable->table);
166 dns_rbt_destroy(&keytable->table);
199 result = dns_rbt_addnode(keytable->table, keyname, &node);
248 result = dns_rbt_findname(keytable->table, name, 0, NULL, &data);
323 result = dns_rbt_findname(keytable->table, name, 0, foundname, &data);
369 result = dns_rbt_findname(keytable->table, name, 0, NULL, &data);
H A Dssu.c40 #define VALID_SSUTABLE(table) ISC_MAGIC_VALID(table, SSUTABLEMAGIC)
43 #define VALID_SSURULE(table) ISC_MAGIC_VALID(table, SSURULEMAGIC)
68 dns_ssutable_t *table; local
73 table = isc_mem_get(mctx, sizeof(dns_ssutable_t));
74 if (table == NULL)
76 result = isc_mutex_init(&table->lock);
78 isc_mem_put(mctx, table, sizeof(dns_ssutable_t));
81 table
91 destroy(dns_ssutable_t *table) argument
137 dns_ssutable_t *table; local
158 dns_ssutable_addrule(dns_ssutable_t *table, isc_boolean_t grant, dns_name_t *identity, unsigned int matchtype, dns_name_t *name, unsigned int ntypes, dns_rdatatype_t *types) argument
347 dns_ssutable_checkrules(dns_ssutable_t *table, dns_name_t *signer, dns_name_t *name, isc_netaddr_t *tcpaddr, dns_rdatatype_t type) argument
540 dns_ssutable_firstrule(const dns_ssutable_t *table, dns_ssurule_t **rule) argument
[all...]
H A Dzt.c47 dns_rbt_t *table; member in struct:dns_zt
77 zt->table = NULL;
78 result = dns_rbt_create(mctx, auto_detach, zt, &zt->table);
95 dns_rbt_destroy(&zt->table);
115 result = dns_rbt_addname(zt->table, name, zone);
135 result = dns_rbt_deletename(zt->table, name, ISC_FALSE);
157 result = dns_rbt_findname(zt->table, name, rbtoptions, foundname,
211 dns_rbt_destroy(&zt->table);
366 result = dns_rbtnodechain_first(&chain, zt->table, NULL, NULL);
H A Drcode.c227 struct tbl *table, unsigned int max)
236 for (i = 0; table[i].name != NULL; i++) {
238 n = strlen(table[i].name);
240 strncasecmp(source->base, table[i].name, n) == 0) {
241 *valuep = table[i].value;
250 struct tbl *table)
254 while (table[i].name != NULL) {
255 if (table[i].value == value) {
256 return (str_totext(table[i].name, target));
226 dns_mnemonic_fromtext(unsigned int *valuep, isc_textregion_t *source, struct tbl *table, unsigned int max) argument
249 dns_mnemonic_totext(unsigned int value, isc_buffer_t *target, struct tbl *table) argument
H A Dzone.c10188 dns_zone_getssutable(dns_zone_t *zone, dns_ssutable_t **table) { argument
10190 REQUIRE(table != NULL);
10191 REQUIRE(*table == NULL);
10195 dns_ssutable_attach(zone->ssutable, table);
10200 dns_zone_setssutable(dns_zone_t *zone, dns_ssutable_t *table) { argument
10206 if (table != NULL)
10207 dns_ssutable_attach(table, &zone->ssutable);
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dcompress.h56 /*% Global compression table. */
57 dns_compressnode_t *table[DNS_COMPRESS_TABLESIZE]; member in struct:dns_compress
58 /*% Preallocated nodes for the table. */
163 * Finds longest possible match of 'name' in the global compression table.
182 * Add compression pointers for 'name' to the compression table,
199 * Remove any compression pointers from global table >= offset.
/bind-9.6-ESV-R11/lib/isc/
H A Dresult.c119 resulttable *table; local
129 table = malloc(sizeof(*table));
130 if (table == NULL)
132 table->base = base;
133 table->last = base + nresults - 1;
134 table->text = text;
135 table->msgcat = msgcat;
136 table->set = set;
137 ISC_LINK_INIT(table, lin
173 resulttable *table; local
[all...]
H A Dsymtab.c51 eltlist_t * table; member in struct:isc_symtab
77 symtab->table = (eltlist_t *)isc_mem_get(mctx,
79 if (symtab->table == NULL) {
84 INIT_LIST(symtab->table[i]);
109 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
119 isc_mem_put(symtab->mctx, symtab->table,
156 for (e = HEAD((s)->table[b]); e != NULL; e = NEXT(e, link)) { \
162 for (e = HEAD((s)->table[b]); e != NULL; e = NEXT(e, link)) { \
211 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
216 UNLINK(symtab->table[
[all...]
H A Dmem.c355 unsigned char **table; local
372 table = (ctx->memalloc)(ctx->arg,
374 if (table == NULL) {
379 memmove(table, ctx->basic_table,
384 ctx->basic_table = table;
/bind-9.6-ESV-R11/lib/isccc/
H A Dsymtab.c64 eltlist_t * table; member in struct:isccc_symtab
86 symtab->table = malloc(size * sizeof(eltlist_t));
87 if (symtab->table == NULL) {
92 ISC_LIST_INIT(symtab->table[i]);
106 ISC_LIST_UNLINK(symtab->table[bucket], elt, link);
124 for (elt = ISC_LIST_HEAD(symtab->table[i]);
131 free(symtab->table);
177 for (e = ISC_LIST_HEAD((s)->table[b]); \
185 for (e = ISC_LIST_HEAD((s)->table[b]); \
232 ISC_LIST_UNLINK(symtab->table[bucke
[all...]
/bind-9.6-ESV-R11/contrib/sdb/pgsql/
H A Dpgsqldb.c46 * The table must contain the fields "name", "rdtype", and "rdata", and
48 * creates such a table.
56 char *table; member in struct:dbinfo
133 "lower(NAME) = lower('%s')", dbi->table, canonname);
188 dbi->table);
232 * argv[1] is the name of the table
255 dbi->table = NULL;
270 STRDUP_OR_FAIL(dbi->table, argv[1]);
304 if (dbi->table != NULL)
305 isc_mem_free(ns_g_mctx, dbi->table);
[all...]
/bind-9.6-ESV-R11/contrib/sdb/sqlite/
H A Dsqlitedb.c44 * The table must contain the fields "name", "rdtype", and "rdata", and
46 * creates such a table.
54 char *table; member in struct:_dbinfo
130 dbi->table, name);
201 dbi->table);
227 if (dbi->table != NULL)
228 isc_mem_free(ns_g_mctx, dbi->table);
250 * argv[1] is the name of the table
271 dbi->table = NULL;
274 STRDUP_OR_FAIL(dbi->table, arg
[all...]
H A Dzone2sqlite.c47 * Generate an SQLite table from a zone.
53 char *table; member in struct:_dbinfo
134 dbi.table,
175 dbi.table = argv[4];
211 sql = sqlite3_mprintf("DROP TABLE %Q ", dbi.table);
218 dbi.table, errmsg);
236 dbi.table);
242 dbi.table, errmsg);
/bind-9.6-ESV-R11/bin/named/
H A Dzoneconf.c181 dns_ssutable_t *table = NULL; local
191 result = dns_ssutable_create(mctx, &table);
310 result = dns_ssutable_addrule(table, grant,
324 dns_zone_setssutable(zone, table);
327 dns_ssutable_detach(&table);
H A Dupdate.c809 /* The ssu table to check against. */
810 dns_ssutable_t *table; member in struct:__anon15
825 result = dns_ssutable_checkrules(ssuinfo->table, ssuinfo->signer,
840 ssuinfo.table = ssutable;

Completed in 94 milliseconds