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

/freebsd-10.2-release/contrib/unbound/libunbound/
H A Dunbound.h116 struct ub_ctx;
235 struct ub_ctx* ub_ctx_create(void);
242 void ub_ctx_delete(struct ub_ctx* ctx);
257 int ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val);
273 int ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str);
285 int ub_ctx_config(struct ub_ctx* ctx, const char* fname);
304 int ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr);
320 int ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname);
333 int ub_ctx_hosts(struct ub_ctx* ctx, const char* fname);
346 int ub_ctx_add_ta(struct ub_ctx* ct
[all...]
H A Dunbound-event.h61 struct ub_ctx;
79 struct ub_ctx* ub_ctx_create_event(struct event_base* base);
84 * @param ctx the ub_ctx to update. Must have been created with ub_ctx_create_event
88 int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base);
128 int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
H A Dlibworker.h47 struct ub_ctx;
71 struct ub_ctx* ctx;
98 int libworker_bg(struct ub_ctx* ctx);
109 int libworker_fg(struct ub_ctx* ctx, struct ctx_query* q);
117 struct libworker* libworker_create_event(struct ub_ctx* ctx,
127 int libworker_attach_mesh(struct ub_ctx* ctx, struct ctx_query* q,
H A Dcontext.h61 struct ub_ctx { struct
223 int context_finalize(struct ub_ctx* ctx);
244 struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
253 struct alloc_cache* context_obtain_alloc(struct ub_ctx* ctx, int locking);
261 void context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
318 struct ctx_query* context_lookup_new_query(struct ub_ctx* ctx,
328 struct ctx_query* context_deserialize_new_query(struct ub_ctx* ctx,
339 struct ctx_query* context_deserialize_answer(struct ub_ctx* ctx,
349 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
H A Dlibunbound.c75 static struct ub_ctx* ub_ctx_create_nopipe(void)
77 struct ub_ctx* ctx;
95 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
136 struct ub_ctx*
139 struct ub_ctx* ctx = ub_ctx_create_nopipe();
166 struct ub_ctx*
169 struct ub_ctx* ctx = ub_ctx_create_nopipe();
189 static void ub_stop_bg(struct ub_ctx* ctx)
229 ub_ctx_delete(struct ub_ctx* ctx)
282 ub_ctx_set_option(struct ub_ctx* ct
[all...]
H A Dcontext.c55 context_finalize(struct ub_ctx* ctx)
114 find_id(struct ub_ctx* ctx, int* id)
128 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
168 context_obtain_alloc(struct ub_ctx* ctx, int locking)
194 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
233 context_deserialize_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
266 context_lookup_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
317 context_deserialize_answer(struct ub_ctx* ctx,
371 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
H A Dlibworker.c122 libworker_setup(struct ub_ctx* ctx, int is_bg, struct event_base* eb)
259 struct libworker* libworker_create_event(struct ub_ctx* ctx,
332 struct ub_ctx* ctx;
374 int libworker_bg(struct ub_ctx* ctx)
590 int libworker_fg(struct ub_ctx* ctx, struct ctx_query* q)
642 struct ub_ctx* ctx = q->w->ctx;
661 int libworker_attach_mesh(struct ub_ctx* ctx, struct ctx_query* q,
749 struct ub_ctx* ctx = q->w->ctx;
/freebsd-10.2-release/contrib/unbound/libunbound/python/examples/
H A Ddnssec-valid.py36 from unbound import ub_ctx,RR_TYPE_A,RR_CLASS_IN namespace
38 ctx = ub_ctx()
H A Ddns-lookup.py37 ctx = unbound.ub_ctx()
H A Dns-lookup.py38 ctx = unbound.ub_ctx()
H A Dreverse-lookup.py37 ctx = unbound.ub_ctx()
H A Ddnssec_test.py2 from unbound import ub_ctx, RR_TYPE_A, RR_TYPE_RRSIG, RR_TYPE_NSEC, RR_TYPE_NSEC3 namespace
29 resolver = ub_ctx()
H A Dasync-lookup.py38 ctx = unbound.ub_ctx()
H A Dmx-lookup.py38 ctx = unbound.ub_ctx()
H A Dexample8-1.py38 ctx = unbound.ub_ctx()
H A Didn-lookup.py39 ctx = unbound.ub_ctx()
/freebsd-10.2-release/contrib/unbound/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()
/freebsd-10.2-release/contrib/unbound/libunbound/python/
H A Dlibunbound.i94 // ub_ctx - validation context
96 %nodefaultctor ub_ctx; //no default constructor & destructor
97 %nodefaultdtor ub_ctx;
106 void ub_ctx_free_dbg (struct ub_ctx* c) {
248 %feature("docstring") ub_ctx "Unbound resolving and validation context.
255 >>> ctx = unbound.ub_ctx()
263 %extend ub_ctx
269 An exception is invoked if the process of creation an ub_ctx instance fails.
289 #parameters: struct ub_ctx *,char *,
302 #parameters: struct ub_ctx *,cha
[all...]
/freebsd-10.2-release/contrib/unbound/smallapp/
H A Dunbound-host.c356 dnslook(struct ub_ctx* ctx, char* q, int t, int c, int docname)
374 lookup(struct ub_ctx* ctx, const char* nm, const char* qt, const char* qc)
418 struct ub_ctx* ctx = NULL;
H A Dunbound-anchor.c259 ub_ctx_error_exit(struct ub_ctx* ctx, const char* str, const char* str2)
270 static struct ub_ctx*
275 struct ub_ctx* ctx = ub_ctx_create();
529 resolve_host_ip(struct ub_ctx* ctx, const char* host, int port, int tp, int cl,
617 struct ub_ctx* ctx;
2037 add_5011_probe_root(struct ub_ctx* ctx, const char* root_anchor_file)
2054 prime_root_key(struct ub_ctx* ctx)
2176 struct ub_ctx* ctx;
/freebsd-10.2-release/contrib/unbound/
H A DMakefile.in487 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
536 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \

Completed in 126 milliseconds