Searched refs:methods (Results 1 - 25 of 72) sorted by relevance

123

/bind-9.11.3/contrib/dlz/modules/perl/
H A Ddlz_perl_driver.h22 dns_clientinfomethods_t *methods; member in struct:dlz_perl_clientinfo_opaque
H A Ddlz_perl_callback_clientinfo.xs53 if (wantarray == G_VOID || ci->methods == NULL ||
54 ci->methods->version - ci->methods->age <
58 ci->methods->sourceip(ci->clientinfo, &src);
H A Ddlz_perl_driver.c123 * methods
319 dns_clientinfomethods_t *methods,
331 UNUSED(methods);
392 dns_clientinfomethods_t *methods,
409 UNUSED(methods);
418 opaque.methods = methods;
510 const char *methods[] = { "new", "findzone", "lookup", NULL }; local
513 while( methods[i] != NULL ) {
515 perl_class_name, methods[
[all...]
/bind-9.11.3/lib/dns/
H A Dclientinfo.c16 dns_clientinfomethods_init(dns_clientinfomethods_t *methods, argument
19 methods->version = DNS_CLIENTINFOMETHODS_VERSION;
20 methods->age = DNS_CLIENTINFOMETHODS_AGE;
21 methods->sourceip = sourceip;
H A Ddbiterator.c29 (*iteratorp)->methods->destroy(iteratorp);
42 return (iterator->methods->first(iterator));
53 return (iterator->methods->last(iterator));
64 return (iterator->methods->seek(iterator, name));
75 return (iterator->methods->prev(iterator));
86 return (iterator->methods->next(iterator));
101 return (iterator->methods->current(iterator, nodep, name));
112 return (iterator->methods->pause(iterator));
126 return (iterator->methods->origin(iterator, name));
H A Drdatasetiter.c31 (*iteratorp)->methods->destroy(iteratorp);
44 return (iterator->methods->first(iterator));
55 return (iterator->methods->next(iterator));
70 iterator->methods->current(iterator, rdataset);
H A Ddb.c149 (source->methods->attach)(source, targetp);
164 ((*dbp)->methods->detach)(dbp);
233 if (db->methods->isdnssec != NULL)
234 return ((db->methods->isdnssec)(db));
235 return ((db->methods->issecure)(db));
248 return ((db->methods->issecure)(db));
260 return ((db->methods->ispersistent)(db));
294 return ((db->methods->beginload)(db, callbacks));
314 return ((db->methods->endload)(db, callbacks));
366 if (db->methods
491 dns_db_findnodeext(dns_db_t *db, dns_name_t *name, isc_boolean_t create, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_dbnode_t **nodep) argument
559 dns_db_findext(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
[all...]
H A Drdataset.c58 rdataset->methods = NULL;
85 REQUIRE(rdataset->methods == NULL);
111 REQUIRE(rdataset->methods != NULL);
113 (rdataset->methods->disassociate)(rdataset);
114 rdataset->methods = NULL;
139 if (rdataset->methods != NULL)
216 REQUIRE(rdataset->methods == NULL);
218 rdataset->methods = &question_methods;
232 REQUIRE(rdataset->methods != NULL);
234 return ((rdataset->methods
[all...]
H A Ddlz.c128 allowzonexfr = dlzdb->implementation->methods->allowzonexfr;
207 result = ((impinfo->methods->create)(mctx, dlzname, argc, argv,
227 /* impinfo->methods->create failed. */
257 destroy = db->implementation->methods->destroy;
268 dns_dlzregister(const char *drivername, const dns_dlzmethods_t *methods, argument
284 REQUIRE(methods != NULL);
285 REQUIRE(methods->create != NULL);
286 REQUIRE(methods->destroy != NULL);
287 REQUIRE(methods->findzone != NULL);
329 dlz_imp->methods
[all...]
H A Dsdlz.c86 const dns_sdlzmethods_t *methods; member in struct:dns_sdlzimplementation
184 dns_clientinfomethods_t *methods,
256 * Rdataset Iterator Methods. These methods were "borrowed" from the SDB
309 * DB routines. These methods were "borrowed" from the SDB driver interface.
405 if (sdlz->dlzimp->methods->newversion == NULL)
410 result = sdlz->dlzimp->methods->newversion(origin,
449 REQUIRE(sdlz->dlzimp->methods->closeversion != NULL);
453 sdlz->dlzimp->methods->closeversion(origin, commit,
536 unsigned int options, dns_clientinfomethods_t *methods,
552 if (sdlz->dlzimp->methods
535 getnodedata(dns_db_t *db, dns_name_t *name, isc_boolean_t create, unsigned int options, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_dbnode_t **nodep) argument
694 findnodeext(dns_db_t *db, dns_name_t *name, isc_boolean_t create, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_dbnode_t **nodep) argument
882 findext(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
1693 dns_sdlzfindzone(void *driverarg, void *dbdata, isc_mem_t *mctx, dns_rdataclass_t rdclass, dns_name_t *name, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_db_t **dbp) argument
2037 dns_sdlzregister(const char *drivername, const dns_sdlzmethods_t *methods, void *driverarg, unsigned int flags, isc_mem_t *mctx, dns_sdlzimplementation_t **sdlzimp) argument
[all...]
H A Dsdb.c44 const dns_sdbmethods_t *methods; member in struct:dns_sdbimplementation
201 dns_sdb_register(const char *drivername, const dns_sdbmethods_t *methods, argument
209 REQUIRE(methods != NULL);
210 REQUIRE(methods->lookup != NULL || methods->lookup2 != NULL);
221 imp->methods = methods;
549 if (imp->methods->destroy != NULL) {
551 imp->methods->destroy(sdb->zone, imp->driverdata,
720 dns_clientinfomethods_t *methods, dns_clientinfo_
719 findnodeext(dns_db_t *db, dns_name_t *name, isc_boolean_t create, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_dbnode_t **nodep) argument
807 findext(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
1408 static dns_rdatasetmethods_t methods = { variable
[all...]
/bind-9.11.3/lib/isc/
H A Dapp_api.c73 (*ctxp)->methods->ctxdestroy(ctxp);
85 return (ctx->methods->ctxstart(ctx));
95 return (ctx->methods->ctxrun(ctx));
108 return (ctx->methods->ctxonrun(ctx, mctx, task, action, arg));
118 return (ctx->methods->ctxsuspend(ctx));
128 return (ctx->methods->ctxshutdown(ctx));
138 ctx->methods->ctxfinish(ctx);
149 ctx->methods->settaskmgr(ctx, taskmgr);
160 ctx->methods->setsocketmgr(ctx, socketmgr);
171 ctx->methods
[all...]
H A Dsocket_api.c88 (*managerp)->methods->destroy(managerp);
102 return (manager->methods->socketcreate(manager, pf, type, socketp));
113 sock->methods->attach(sock, socketp);
125 (*socketp)->methods->detach(socketp);
139 return (sock->methods->bind(sock, sockaddr, options));
153 return (sock->methods->sendto(sock, region, task, action, arg, address,
166 return (sock->methods->connect(sock, addr, task, action, arg));
179 return (sock->methods->recv(sock, region, minimum, task, action, arg));
189 sock->methods->cancel(sock, task, how);
199 return (sock->methods
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dsdb.h54 dns_clientinfomethods_t *methods,
59 dns_clientinfomethods_t *methods,
98 dns_sdb_register(const char *drivername, const dns_sdbmethods_t *methods,
103 * implemented by the functions in '*methods'.
H A Dclientinfo.h29 * list of methods which operate on that opaque structure to return
70 dns_clientinfomethods_init(dns_clientinfomethods_t *methods,
H A Ddlz_dlopen.h54 dns_clientinfomethods_t *methods,
64 dns_clientinfomethods_t *methods,
H A Dsdlz.h119 * methods have been called. This method is required if the lookup
147 dns_clientinfomethods_t *methods,
179 dns_clientinfomethods_t *methods,
186 * other methods have been called. This function returns DNS record
192 * The 'methods' and 'clientinfo' args allow an SDLZ driver to retrieve
258 * supply addrdataset and subtractrdataset methods. If supplied, then these
297 dns_sdlzregister(const char *drivername, const dns_sdlzmethods_t *methods,
302 * type 'drivername', implemented by the functions in '*methods'.
H A Ddlz.h135 dns_clientinfomethods_t *methods,
187 /*% the methods supplied by a DLZ driver */
200 const dns_dlzmethods_t *methods; member in struct:dns_dlzimplementation
256 * methods, this function will call it.
260 dns_dlzregister(const char *drivername, const dns_dlzmethods_t *methods,
266 * type 'drivername', implemented by the functions in '*methods'.
H A Drdatasetiter.h36 *\li The iterator methods ensure appropriate database locking.
90 dns_rdatasetitermethods_t * methods; member in struct:dns_rdatasetiter
H A Ddbiterator.h36 *\li The iterator methods ensure appropriate database locking.
95 dns_dbiteratormethods_t * methods; member in struct:dns_dbiterator
/bind-9.11.3/contrib/sdb/time/
H A Dtimedb.c44 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
57 UNUSED(methods);
43 timedb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
/bind-9.11.3/contrib/dlz/example/
H A Ddlz_example.c318 dns_clientinfomethods_t *methods,
327 if (methods != NULL &&
328 methods->sourceip != NULL &&
329 methods->version - methods->age <= DNS_CLIENTINFOMETHODS_VERSION &&
330 DNS_CLIENTINFOMETHODS_VERSION <= methods->version)
332 methods->sourceip(clientinfo, &src);
374 * the address of the client; this demonstrates the use of 'methods'
382 dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods,
431 if (methods !
317 dlz_findzonedb(void *dbdata, const char *name, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
381 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
/bind-9.11.3/bin/tests/system/dlzexternal/
H A Ddriver.c321 dns_clientinfomethods_t *methods,
330 if (methods != NULL &&
331 methods->sourceip != NULL &&
332 methods->version - methods->age <= DNS_CLIENTINFOMETHODS_VERSION &&
333 DNS_CLIENTINFOMETHODS_VERSION <= methods->version)
335 methods->sourceip(clientinfo, &src);
388 * the address of the client, to test the use of 'methods' and 'clientinfo'
395 dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods,
459 if (methods !
320 dlz_findzonedb(void *dbdata, const char *name, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
394 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dtimer.h98 /*% Timer and timer manager methods */
133 isc_timermgrmethods_t *methods; member in struct:isc_timermgr
147 isc_timermethods_t *methods; member in struct:isc_timer
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_stub_driver.c74 * SDLZ methods
142 dns_clientinfomethods_t *methods,
149 UNUSED(methods);
169 dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo)
176 UNUSED(methods);
141 stub_dlz_findzonedb(void *driverarg, void *dbdata, const char *name, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
167 stub_dlz_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument

Completed in 80 milliseconds

123