Searched refs:ub_ctx (Results 1 - 11 of 11) sorted by path

/freebsd-11-stable/contrib/unbound/
H A DMakefile.in560 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
611 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
/freebsd-11-stable/contrib/unbound/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...]
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dcontext.c57 context_finalize(struct ub_ctx* ctx)
128 find_id(struct ub_ctx* ctx, int* id)
142 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
183 context_obtain_alloc(struct ub_ctx* ctx, int locking)
209 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
248 context_deserialize_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
281 context_lookup_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len)
335 context_deserialize_answer(struct ub_ctx* ctx,
391 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
H A Dcontext.h65 struct ub_ctx { struct
232 int context_finalize(struct ub_ctx* ctx);
254 struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
264 struct alloc_cache* context_obtain_alloc(struct ub_ctx* ctx, int locking);
272 void context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
329 struct ctx_query* context_lookup_new_query(struct ub_ctx* ctx,
339 struct ctx_query* context_deserialize_new_query(struct ub_ctx* ctx,
350 struct ctx_query* context_deserialize_answer(struct ub_ctx* ctx,
360 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
H A Dlibunbound.c87 static struct ub_ctx* ub_ctx_create_nopipe(void)
89 struct ub_ctx* ctx;
108 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
177 struct ub_ctx*
180 struct ub_ctx* ctx = ub_ctx_create_nopipe();
211 struct ub_ctx*
214 struct ub_ctx* ctx = ub_ctx_create_nopipe();
225 struct ub_ctx*
228 struct ub_ctx* ctx = ub_ctx_create_nopipe();
253 static void ub_stop_bg(struct ub_ctx* ct
[all...]
H A Dlibworker.c134 libworker_setup(struct ub_ctx* ctx, int is_bg, struct ub_event_base* eb)
269 struct libworker* libworker_create_event(struct ub_ctx* ctx,
343 struct ub_ctx* ctx;
386 int libworker_bg(struct ub_ctx* ctx)
588 int libworker_fg(struct ub_ctx* ctx, struct ctx_query* q)
650 struct ub_ctx* ctx = q->w->ctx;
669 int libworker_attach_mesh(struct ub_ctx* ctx, struct ctx_query* q,
774 struct ub_ctx* ctx = q->w->ctx;
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 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);
256 int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
H A Dunbound.h116 struct ub_ctx;
242 struct ub_ctx* ub_ctx_create(void);
249 void ub_ctx_delete(struct ub_ctx* ctx);
264 int ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val);
280 int ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str);
292 int ub_ctx_config(struct ub_ctx* ctx, const char* fname);
311 int ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr);
322 int ub_ctx_set_tls(struct ub_ctx* ctx, int tls);
342 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr,
359 int ub_ctx_resolvconf(struct ub_ctx* ct
[all...]
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-anchor.c270 ub_ctx_error_exit(struct ub_ctx* ctx, const char* str, const char* str2)
281 static struct ub_ctx*
286 struct ub_ctx* ctx = ub_ctx_create();
544 resolve_host_ip(struct ub_ctx* ctx, const char* host, int port, int tp, int cl,
634 struct ub_ctx* ctx;
2083 add_5011_probe_root(struct ub_ctx* ctx, const char* root_anchor_file)
2100 prime_root_key(struct ub_ctx* ctx)
2220 struct ub_ctx* ctx;
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 247 milliseconds