/freebsd-10.2-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); 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 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 | 75 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 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) 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 D | dnssec-valid.py | 36 from unbound import ub_ctx,RR_TYPE_A,RR_CLASS_IN namespace 38 ctx = ub_ctx()
|
H A D | dns-lookup.py | 37 ctx = unbound.ub_ctx()
|
H A D | ns-lookup.py | 38 ctx = unbound.ub_ctx()
|
H A D | reverse-lookup.py | 37 ctx = unbound.ub_ctx()
|
H A D | dnssec_test.py | 2 from unbound import ub_ctx, RR_TYPE_A, RR_TYPE_RRSIG, RR_TYPE_NSEC, RR_TYPE_NSEC3 namespace 29 resolver = ub_ctx()
|
H A D | async-lookup.py | 38 ctx = unbound.ub_ctx()
|
H A D | mx-lookup.py | 38 ctx = unbound.ub_ctx()
|
H A D | example8-1.py | 38 ctx = unbound.ub_ctx()
|
H A D | idn-lookup.py | 39 ctx = unbound.ub_ctx()
|
/freebsd-10.2-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-10.2-release/contrib/unbound/libunbound/python/ |
H A D | libunbound.i | 94 // 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 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 | 259 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 D | Makefile.in | 487 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 \
|