HomeSort by: relevance | last modified time | path
    Searched refs:ub_ctx (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/bsd/unbound/dist/contrib/
libunbound.so.conf 10 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*, string)
    [all...]
  /src/external/bsd/unbound/dist/libunbound/
unbound.h 116 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* ctx, const char* fname)
    [all...]
libworker.h 47 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,
context.h 65 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,
unbound-event.h 62 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,
libunbound.c 90 static struct ub_ctx* ub_ctx_create_nopipe(void)
92 struct ub_ctx* ctx;
111 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
181 struct ub_ctx*
184 struct ub_ctx* ctx = ub_ctx_create_nopipe();
221 struct ub_ctx*
224 struct ub_ctx* ctx = ub_ctx_create_nopipe();
235 struct ub_ctx*
238 struct ub_ctx* ctx = ub_ctx_create_nopipe();
263 static void ub_stop_bg(struct ub_ctx* ctx
    [all...]
context.c 60 context_finalize(struct ub_ctx* ctx)
143 find_id(struct ub_ctx* ctx, int* id)
157 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
198 context_obtain_alloc(struct ub_ctx* ctx, int locking)
224 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
263 context_deserialize_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
296 context_lookup_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
350 context_deserialize_answer(struct ub_ctx* ctx,
406 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
  /src/external/bsd/unbound/dist/libunbound/python/doc/examples/
example6-1.py 2 from unbound import ub_ctx,ub_strerror,RR_TYPE_A,RR_CLASS_IN
4 ctx = ub_ctx()
example7-1.py 8 ctx = unbound.ub_ctx()
example7-2.py 8 ctx = unbound.ub_ctx()
example8-1.py 8 ctx = unbound.ub_ctx()
  /src/external/bsd/unbound/dist/libunbound/python/examples/
dnssec-valid.py 37 from unbound import ub_ctx,RR_TYPE_A,RR_CLASS_IN
39 ctx = ub_ctx()
dns-lookup.py 38 ctx = unbound.ub_ctx()
ns-lookup.py 39 ctx = unbound.ub_ctx()
reverse-lookup.py 38 ctx = unbound.ub_ctx()
async-lookup.py 39 ctx = unbound.ub_ctx()
mx-lookup.py 39 ctx = unbound.ub_ctx()
dnssec_test.py 3 from unbound import ub_ctx, RR_TYPE_A, RR_TYPE_RRSIG, RR_TYPE_NSEC, RR_TYPE_NSEC3
30 resolver = ub_ctx()
example8-1.py 39 ctx = unbound.ub_ctx()
idn-lookup.py 40 ctx = unbound.ub_ctx()
  /src/external/bsd/unbound/dist/libunbound/python/
libunbound.i 115 // 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) {
128 printf("******** UB_CTX free 0x%p ************\n", 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 *
    [all...]
  /src/external/bsd/unbound/dist/winrc/
anchor-update.c 66 do_lookup(struct ub_ctx* ctx, char* domain)
112 struct ub_ctx* ctx;
  /src/external/bsd/unbound/dist/testdata/pylib.tdir/
pylib.lookup.py 22 ctx = unbound.ub_ctx()
  /src/external/bsd/unbound/dist/smallapp/
unbound-host.c 369 dnslook(struct ub_ctx* ctx, char* q, int t, int c, int docname)
387 lookup(struct ub_ctx* ctx, const char* nm, const char* qt, const char* qc)
432 struct ub_ctx* ctx = NULL;
  /src/external/bsd/unbound/dist/testcode/
asynclook.c 178 struct ub_ctx* ctx;
359 ext_test(struct ub_ctx* ctx, int argc, char** argv)
405 struct ub_ctx* ctx;

Completed in 42 milliseconds

1 2