/freebsd-11.0-release/contrib/unbound/libunbound/ |
H A D | unbound.h | 116 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); 324 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr, 341 int ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname); 354 int ub_ctx_hosts(struct ub_ctx* ct [all...] |
H A D | unbound-event.h | 61 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 D | libworker.h | 47 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 D | context.h | 61 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 D | libunbound.c | 81 static struct ub_ctx* ub_ctx_create_nopipe(void) 83 struct ub_ctx* ctx; 101 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx)); 142 struct ub_ctx* 145 struct ub_ctx* ctx = ub_ctx_create_nopipe(); 172 struct ub_ctx* 175 struct ub_ctx* ctx = ub_ctx_create_nopipe(); 195 static void ub_stop_bg(struct ub_ctx* ctx) 241 ub_ctx_delete(struct ub_ctx* ctx) 294 ub_ctx_set_option(struct ub_ctx* ct [all...] |
H A D | context.c | 55 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 D | libworker.c | 122 libworker_setup(struct ub_ctx* ctx, int is_bg, struct event_base* eb) 260 struct libworker* libworker_create_event(struct ub_ctx* ctx, 333 struct ub_ctx* ctx; 375 int libworker_bg(struct ub_ctx* ctx) 591 int libworker_fg(struct ub_ctx* ctx, struct ctx_query* q) 643 struct ub_ctx* ctx = q->w->ctx; 662 int libworker_attach_mesh(struct ub_ctx* ctx, struct ctx_query* q, 750 struct ub_ctx* ctx = q->w->ctx;
|
/freebsd-11.0-release/contrib/unbound/libunbound/python/examples/ |
H A D | dnssec-valid.py | 37 from unbound import ub_ctx,RR_TYPE_A,RR_CLASS_IN namespace 39 ctx = ub_ctx()
|
H A D | dns-lookup.py | 38 ctx = unbound.ub_ctx()
|
H A D | ns-lookup.py | 39 ctx = unbound.ub_ctx()
|
H A D | reverse-lookup.py | 38 ctx = unbound.ub_ctx()
|
H A D | dnssec_test.py | 3 from unbound import ub_ctx, RR_TYPE_A, RR_TYPE_RRSIG, RR_TYPE_NSEC, RR_TYPE_NSEC3 namespace 30 resolver = ub_ctx()
|
H A D | async-lookup.py | 39 ctx = unbound.ub_ctx()
|
H A D | mx-lookup.py | 39 ctx = unbound.ub_ctx()
|
H A D | example8-1.py | 39 ctx = unbound.ub_ctx()
|
H A D | idn-lookup.py | 40 ctx = unbound.ub_ctx()
|
/freebsd-11.0-release/contrib/unbound/libunbound/python/doc/examples/ |
H A D | example6-1.py | 2 from unbound import ub_ctx,ub_strerror,RR_TYPE_A,RR_CLASS_IN namespace 4 ctx = ub_ctx()
|
H A D | example7-1.py | 8 ctx = unbound.ub_ctx()
|
H A D | example7-2.py | 8 ctx = unbound.ub_ctx()
|
H A D | example8-1.py | 8 ctx = unbound.ub_ctx()
|
/freebsd-11.0-release/contrib/unbound/libunbound/python/ |
H A D | libunbound.i | 98 // ub_ctx - validation context 100 %nodefaultctor ub_ctx; //no default constructor & destructor 101 %nodefaultdtor ub_ctx; 110 void ub_ctx_free_dbg (struct ub_ctx* c) { 252 %feature("docstring") ub_ctx "Unbound resolving and validation context. 259 >>> ctx = unbound.ub_ctx() 267 %extend ub_ctx 273 An exception is invoked if the process of creation an ub_ctx instance fails. 293 #parameters: struct ub_ctx *,char *, 306 #parameters: struct ub_ctx *,cha [all...] |
/freebsd-11.0-release/contrib/unbound/smallapp/ |
H A D | unbound-host.c | 356 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 D | unbound-anchor.c | 260 ub_ctx_error_exit(struct ub_ctx* ctx, const char* str, const char* str2) 271 static struct ub_ctx* 276 struct ub_ctx* ctx = ub_ctx_create(); 530 resolve_host_ip(struct ub_ctx* ctx, const char* host, int port, int tp, int cl, 618 struct ub_ctx* ctx; 2057 add_5011_probe_root(struct ub_ctx* ctx, const char* root_anchor_file) 2074 prime_root_key(struct ub_ctx* ctx) 2196 struct ub_ctx* ctx;
|
/freebsd-11.0-release/contrib/unbound/ |
H A D | Makefile.in | 490 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \ 539 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
|