Searched refs:ub_ctx (Results 1 - 25 of 28) sorted by relevance

12

/netbsd-current/external/bsd/unbound/dist/contrib/
H A Dlibunbound.so.conf10 typedef ub_ctx = void;
11 ub_ctx* ub_ctx_create(void);
12 void ub_ctx_delete(ub_ctx*);
13 int ub_ctx_set_option(ub_ctx*, string, string);
14 int ub_ctx_get_option(ub_ctx*, string, +string*);
15 int ub_ctx_config(ub_ctx*, string);
16 int ub_ctx_set_fwd(ub_ctx*, string);
17 int ub_ctx_set_tls(ub_ctx*, bool(int));
18 int ub_ctx_set_stub(ub_ctx*, string, string, bool(int));
19 int ub_ctx_resolvconf(ub_ctx*, strin
[all...]
/netbsd-current/external/bsd/unbound/dist/libunbound/
H A Dunbound.h116 struct ub_ctx;
271 struct ub_ctx* ub_ctx_create(void);
278 void ub_ctx_delete(struct ub_ctx* ctx);
293 int ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val);
309 int ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str);
321 int ub_ctx_config(struct ub_ctx* ctx, const char* fname);
340 int ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr);
351 int ub_ctx_set_tls(struct ub_ctx* ctx, int tls);
371 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr,
388 int ub_ctx_resolvconf(struct ub_ctx* ct
[all...]
H A Dlibworker.h47 struct ub_ctx;
72 struct ub_ctx* ctx;
101 int libworker_bg(struct ub_ctx* ctx);
112 int libworker_fg(struct ub_ctx* ctx, struct ctx_query* q);
120 struct libworker* libworker_create_event(struct ub_ctx* ctx,
130 int libworker_attach_mesh(struct ub_ctx* ctx, struct ctx_query* q,
H A Dcontext.h65 struct ub_ctx { struct
209 int context_finalize(struct ub_ctx* ctx);
231 struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
241 struct alloc_cache* context_obtain_alloc(struct ub_ctx* ctx, int locking);
249 void context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
306 struct ctx_query* context_lookup_new_query(struct ub_ctx* ctx,
316 struct ctx_query* context_deserialize_new_query(struct ub_ctx* ctx,
327 struct ctx_query* context_deserialize_answer(struct ub_ctx* ctx,
337 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
H A Dunbound-event.h62 struct ub_ctx;
187 struct ub_ctx* ub_ctx_create_ub_event(struct ub_event_base* base);
204 struct ub_ctx* ub_ctx_create_event(struct event_base* base);
212 * @param ctx the ub_ctx to update. Must have been created with ub_ctx_create_event
216 int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base);
257 int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
H A Dlibunbound.c88 static struct ub_ctx* ub_ctx_create_nopipe(void)
90 struct ub_ctx* ctx;
109 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
178 struct ub_ctx*
181 struct ub_ctx* ctx = ub_ctx_create_nopipe();
214 struct ub_ctx*
217 struct ub_ctx* ctx = ub_ctx_create_nopipe();
228 struct ub_ctx*
231 struct ub_ctx* ctx = ub_ctx_create_nopipe();
256 static void ub_stop_bg(struct ub_ctx* ct
[all...]
H A Dcontext.c58 context_finalize(struct ub_ctx* ctx)
133 find_id(struct ub_ctx* ctx, int* id)
147 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
188 context_obtain_alloc(struct ub_ctx* ctx, int locking)
214 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
253 context_deserialize_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
286 context_lookup_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
340 context_deserialize_answer(struct ub_ctx* ctx,
396 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
/netbsd-current/external/bsd/unbound/dist/libunbound/python/examples/
H A Ddnssec-valid.py37 from unbound import ub_ctx,RR_TYPE_A,RR_CLASS_IN namespace
39 ctx = ub_ctx()
H A Ddns-lookup.py38 ctx = unbound.ub_ctx()
H A Dns-lookup.py39 ctx = unbound.ub_ctx()
H A Dreverse-lookup.py38 ctx = unbound.ub_ctx()
H A Ddnssec_test.py3 from unbound import ub_ctx, RR_TYPE_A, RR_TYPE_RRSIG, RR_TYPE_NSEC, RR_TYPE_NSEC3 namespace
30 resolver = ub_ctx()
H A Dasync-lookup.py39 ctx = unbound.ub_ctx()
H A Dmx-lookup.py39 ctx = unbound.ub_ctx()
H A Dexample8-1.py39 ctx = unbound.ub_ctx()
H A Didn-lookup.py40 ctx = unbound.ub_ctx()
/netbsd-current/external/bsd/unbound/dist/libunbound/python/doc/examples/
H A Dexample6-1.py2 from unbound import ub_ctx,ub_strerror,RR_TYPE_A,RR_CLASS_IN namespace
4 ctx = ub_ctx()
H A Dexample7-1.py8 ctx = unbound.ub_ctx()
H A Dexample7-2.py8 ctx = unbound.ub_ctx()
H A Dexample8-1.py8 ctx = unbound.ub_ctx()
/netbsd-current/external/bsd/unbound/dist/libunbound/python/
H A Dlibunbound.i115 // ub_ctx - validation context
117 %nodefaultctor ub_ctx; //no default constructor & destructor
118 %nodefaultdtor ub_ctx;
127 void ub_ctx_free_dbg (struct ub_ctx* c) {
270 %feature("docstring") ub_ctx "Unbound resolving and validation context.
277 >>> ctx = unbound.ub_ctx()
285 %extend ub_ctx
291 An exception is invoked if the process of creation an ub_ctx instance fails.
311 #parameters: struct ub_ctx *,char *,
324 #parameters: struct ub_ctx *,cha
[all...]
/netbsd-current/external/bsd/unbound/dist/winrc/
H A Danchor-update.c66 do_lookup(struct ub_ctx* ctx, char* domain)
112 struct ub_ctx* ctx;
/netbsd-current/external/bsd/unbound/dist/testdata/pylib.tdir/
H A Dpylib.lookup.py22 ctx = unbound.ub_ctx()
/netbsd-current/external/bsd/unbound/dist/testcode/
H A Dasynclook.c178 struct ub_ctx* ctx;
359 ext_test(struct ub_ctx* ctx, int argc, char** argv)
405 struct ub_ctx* ctx;
/netbsd-current/external/bsd/unbound/dist/smallapp/
H A Dunbound-host.c367 dnslook(struct ub_ctx* ctx, char* q, int t, int c, int docname)
385 lookup(struct ub_ctx* ctx, const char* nm, const char* qt, const char* qc)
430 struct ub_ctx* ctx = NULL;

Completed in 136 milliseconds

12