Searched defs:list (Results 1 - 25 of 38) sorted by relevance

12

/bind-9.6-ESV-R11/bin/named/include/named/
H A Dlwsearch.h33 * Lightweight resolver search list types and routines.
35 * An ns_lwsearchlist_t holds a list of search path elements.
37 * An ns_lwsearchctx stores the state of search list during a lookup
41 /*% An ns_lwsearchlist_t holds a list of search path elements. */
50 /*% An ns_lwsearchctx stores the state of search list during a lookup operation. */
55 ns_lwsearchlist_t *list; member in struct:ns_lwsearchctx
63 * Create an empty search list object.
69 * Attach to a search list object.
75 * Detach from a search list object.
79 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_
[all...]
H A Dclient.h156 * The list 'link' is part of, or NULL if not on any list.
158 client_list_t *list; member in struct:ns_client
294 * for checking the blackhole list because we treat positive
296 * the case of the blackhole list this would be backwards.
347 * Add client to end of th recursing list.
353 * Kill the oldest recursive query (recursing list head).
/bind-9.6-ESV-R11/bin/named/
H A Dlistenlist.c32 destroy(ns_listenlist_t *list);
60 ns_listenlist_t *list = NULL; local
62 list = isc_mem_get(mctx, sizeof(*list));
63 if (list == NULL)
65 list->mctx = mctx;
66 list->refcount = 1;
67 ISC_LIST_INIT(list->elts);
68 *target = list;
73 destroy(ns_listenlist_t *list) { argument
94 ns_listenlist_t *list = *listp; local
109 ns_listenlist_t *list = NULL; local
[all...]
H A Dlwsearch.c42 ns_lwsearchlist_t *list; local
48 list = isc_mem_get(mctx, sizeof(ns_lwsearchlist_t));
49 if (list == NULL)
52 result = isc_mutex_init(&list->lock);
54 isc_mem_put(mctx, list, sizeof(ns_lwsearchlist_t));
57 list->mctx = NULL;
58 isc_mem_attach(mctx, &list->mctx);
59 list->refs = 1;
60 ISC_LIST_INIT(list->names);
61 list
83 ns_lwsearchlist_t *list; local
112 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_t *name) argument
134 ns_lwsearchctx_init(ns_lwsearchctx_t *sctx, ns_lwsearchlist_t *list, dns_name_t *name, unsigned int ndots) argument
[all...]
H A Dtsigconf.c40 add_initial_keys(const cfg_obj_t *list, dns_tsig_keyring_t *ring, argument
54 for (element = cfg_list_first(list);
H A Dconfig.c261 * Zone map entry is not a list.
283 ns_config_listcount(const cfg_obj_t *list) { argument
287 for (e = cfg_list_first(list); e != NULL; e = cfg_list_next(e))
349 ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list, argument
364 addrlist = cfg_tuple_get(list, "addresses");
367 portobj = cfg_tuple_get(list, "port");
429 const cfg_obj_t *list; local
432 list = cfg_listelt_value(elt);
433 listname = cfg_obj_asstring(cfg_tuple_get(list, "name"));
436 *ret = list;
444 ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list, isc_mem_t *mctx, isc_sockaddr_t **addrsp, dns_name_t ***keysp, isc_uint32_t *countp) argument
[all...]
H A Dinterfacemgr.c449 * Search the interface list for an interface whose address and port
793 * list, see if the address matches the extra list.
910 * Now go through the interface list and delete anything that
936 ns_interfacemgr_adjust(ns_interfacemgr_t *mgr, ns_listenlist_t *list, argument
939 ns_interfacemgr_scan0(mgr, list, verbose);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dstrlist.c5 ** TODO: Maybe we should use a special type for the list:
6 ** typedef struct { char cnt; char list[0+1]; } strlist__t;
18 ** this list of conditions and the following disclaimer.
21 ** this list of conditions and the following disclaimer in the documentation
53 ** 'str' is a list of substrings delimeted by 'delim'
93 ** isinlist (str, list)
94 ** check if 'list' contains 'str'
96 int isinlist (const char *str, const char *list) argument
100 if ( list == NULL || *list
120 unprepstrlist(char *list, char delimc) argument
[all...]
H A Dzone.c14 ** this list of conditions and the following disclaimer.
17 ** this list of conditions and the following disclaimer in the documentation
279 zone_t *zone_add (zone_t **list, zone_t *new) argument
284 if ( list == NULL )
287 return *list;
289 last = curr = *list;
296 if ( curr == *list ) /* add node at the begining of the list */
297 *list = new;
308 const zone_t *zone_search (const zone_t *list, cons argument
[all...]
H A Ddnssec-zkt.c17 ** this list of conditions and the following disclaimer.
20 ** this list of conditions and the following disclaimer in the documentation
101 {"list-dnskeys", no_argument, NULL, 'K'},
102 {"list-trustedkeys", no_argument, NULL, 'T'},
135 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf);
136 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf);
268 case 'l': /* label list */
422 lopt_usage ("\tusage: %s --list-dnskeys [-dhkzr] [-c config] [file|dir ...]\n", progname);
426 lopt_usage ("\tusage: %s --list-trustedkeys [-dhzr] [-c config] [file|dir ...]\n", progname);
470 fprintf (stderr, "\t-l list\
486 createkey(const char *keyname, const dki_t *list, const zconf_t *conf) argument
538 ksk_roll(const char *keyname, int phase, const dki_t *list, const zconf_t *conf) argument
[all...]
H A Dzkt-keyman.c17 ** this list of conditions and the following disclaimer.
20 ** this list of conditions and the following disclaimer in the documentation
123 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf);
124 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf);
393 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf) argument
403 if ( pathflag && (dkp = (dki_t *)zkt_search (list, 0, keyname)) != NULL )
445 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf) argument
497 if ( (keylist = (dki_t *)zkt_search (list, 0, keyname)) == NULL )
693 dki_add (listp, dkp); /* ... and add to list */
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c68 aliasitem_t first_item; /* first item of the list */
72 additem_to_top(idn__aliaslist_t list,
76 additem_to_bottom(idn__aliaslist_t list,
85 static void dump_list(idn__aliaslist_t list);
105 idn__aliaslist_destroy(idn__aliaslist_t list) { argument
111 assert(list != NULL);
113 current = list->first_item;
125 free(list);
129 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path) { argument
150 r = additem_to_bottom(list, alia
171 idn__aliaslist_additem(idn__aliaslist_t list, const char *pattern, const char *encoding, int first_item) argument
182 additem_to_top(idn__aliaslist_t list, const char *pattern, const char *encoding) argument
210 additem_to_bottom(idn__aliaslist_t list, const char *pattern, const char *encoding) argument
244 idn__aliaslist_find(idn__aliaslist_t list, const char *pattern, char **encodingp) argument
338 dump_list(idn__aliaslist_t list) argument
[all...]
/bind-9.6-ESV-R11/contrib/sdb/tcl/
H A Dtcldb.c176 * zone are collected into a Tcl list and assigned to an element of
185 char *list = Tcl_Merge(argc, argv); local
187 Tcl_SetVar2(driver->interp, (char *) "dbargs", (char *) zone, list, 0);
189 Tcl_Free(list);
/bind-9.6-ESV-R11/lib/dns/
H A Dportlist.c52 dns_element_t *list; member in struct:dns_portlist
94 portlist->list = NULL;
105 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument
112 if (list[xtry].port == port)
113 return (&list[xtry]);
114 if (port > list[xtry].port) {
147 el = find_port(portlist->list, portlist->active, port);
166 if (portlist->list != NULL) {
167 memmove(el, portlist->list,
169 isc_mem_put(portlist->mctx, portlist->list,
[all...]
H A Dpeer.c48 peerlist_delete(dns_peerlist_t **list);
54 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list) { argument
57 REQUIRE(list != NULL);
68 *list = l;
87 dns_peerlist_detach(dns_peerlist_t **list) { argument
90 REQUIRE(list != NULL);
91 REQUIRE(*list != NULL);
92 REQUIRE(DNS_PEERLIST_VALID(*list));
94 plist = *list;
95 *list
106 peerlist_delete(dns_peerlist_t **list) argument
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dlist_test.c11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
37 #include "list.h"
55 atf_list_t list; local
57 RE(atf_list_init(&list));
58 ATF_REQUIRE_EQ(atf_list_size(&list), 0);
59 atf_list_fini(&list);
73 atf_list_t list; local
78 RE(atf_list_init(&list));
79 RE(atf_list_append(&list,
97 atf_list_t list; local
117 atf_list_t list; local
131 atf_list_t list; local
163 atf_list_t list; local
273 atf_list_t list; local
312 atf_list_t list; local
[all...]
H A Dtext_test.c11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
69 atf_list_t list; local
74 CE(atf_text_split(str, delim, &list));
77 ATF_CHECK_EQ(atf_list_size(&list), array_size(words));
81 ATF_CHECK_STREQ((const char *)atf_list_index_c(&list, i), words[i]);
84 atf_list_fini(&list);
191 "strings using a variable parameters list");
H A Dlist.c11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
36 #include "list.h"
278 atf_list_index(atf_list_t *list, const size_t idx) argument
282 PRE(idx < atf_list_size(list));
284 iter = atf_list_begin(list);
288 !atf_equal_list_iter_list_iter((iter), atf_list_end(list))) {
297 atf_list_index_c(const atf_list_t *list, const size_t idx) argument
301 PRE(idx < atf_list_size(list));
303 iter = atf_list_begin_c(list);
[all...]
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c99 struct list_in_addr *list, *p; local
111 list = findA (name);
114 if (list != NULL)
116 for (p = list; p != NULL; p = p->next)
217 struct list_in_addr *list; local
226 list = findA (name);
227 if (list != NULL)
232 if (mask != NULL && mask->s_addr < list->addr.s_addr)
242 a &= ntohl(list->addr.s_addr); /* apply new mask */
248 newmask = inet_makeaddr(ntohl(list
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dadb.h106 * On return, the client can safely use "list", and can reorder the list.
107 * Items may not be _deleted_ from this list, however, or added to it
113 dns_adbaddrinfolist_t list; /*%< RO: list of addrs */ member in struct:dns_adbfind
114 unsigned int query_pending; /*%< RO: partial list */
162 * At least one address was omitted from the list because it was lame.
211 * The answers to queries come back as a list of these.
339 * "name" and will build up a list of found addresses, and perhaps start
355 * The list o
[all...]
H A Dname.h107 * the exception of the 'link' and 'list' fields which may be used directly
119 ISC_LIST(dns_rdataset_t) list; member in struct:dns_name
1285 ISC_LIST_INIT(_n->list); \
/bind-9.6-ESV-R11/lib/isccc/
H A Dsexpr.c222 isccc_sexpr_car(isccc_sexpr_t *list) argument
224 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
226 return (CAR(list));
230 isccc_sexpr_cdr(isccc_sexpr_t *list) argument
232 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
234 return (CDR(list));
/bind-9.6-ESV-R11/lib/isccfg/include/isccfg/
H A Dgrammar.h155 cfg_list_t list; member in union:cfg_obj::__anon210
165 /*% A list element. */
188 * as a configuration list of configuration strings.
197 * and were previously on the open_file list.
/bind-9.6-ESV-R11/bin/tests/
H A Ddb_test.c151 list(dbinfo *dbi, char *seektext) { function
665 list(dbi, &s[4]);
669 list(dbi, NULL);
/bind-9.6-ESV-R11/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c160 DBC *cursor2; /* second cursor used during list operation. */
161 DBC *cursor3; /* third cursor used during list operation */
162 DBC *cursor4; /* fourth cursor used during list operation */
170 #define list 1 /* list data */ macro
184 * checkOp is used to verify that only one operation (list, del, add,
227 char *key = NULL; /*%< key to use in list & del operations */
231 unsigned int key_val; /*%< key as unsigned int used in list & del operations */
232 char *zone = NULL; /*%< zone to use in list operations */
233 char *host = NULL; /*%< host to use in list operation
[all...]

Completed in 94 milliseconds

12