/netbsd-current/external/bsd/unbound/dist/contrib/ |
H A D | 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*, strin [all...] |
/netbsd-current/external/bsd/unbound/dist/libunbound/ |
H A D | 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* ct [all...] |
H A D | 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,
|
H A D | 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,
|
H A D | 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,
|
H A D | libunbound.c | 88 static struct ub_ctx* ub_ctx_create_nopipe(void) 90 struct ub_ctx* ctx; 109 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx)); 178 struct ub_ctx* 181 struct ub_ctx* ctx = ub_ctx_create_nopipe(); 214 struct ub_ctx* 217 struct ub_ctx* ctx = ub_ctx_create_nopipe(); 228 struct ub_ctx* 231 struct ub_ctx* ctx = ub_ctx_create_nopipe(); 256 static void ub_stop_bg(struct ub_ctx* ct [all...] |
H A D | context.c | 58 context_finalize(struct ub_ctx* ctx) 133 find_id(struct ub_ctx* ctx, int* id) 147 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass, 188 context_obtain_alloc(struct ub_ctx* ctx, int locking) 214 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc, 253 context_deserialize_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len) 286 context_lookup_new_query(struct ub_ctx* ctx, uint8_t* p, uint32_t len) 340 context_deserialize_answer(struct ub_ctx* ctx, 396 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,
|
/netbsd-current/external/bsd/unbound/dist/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()
|
/netbsd-current/external/bsd/unbound/dist/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()
|
/netbsd-current/external/bsd/unbound/dist/libunbound/python/ |
H A D | 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) { 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 *, 324 #parameters: struct ub_ctx *,cha [all...] |
/netbsd-current/external/bsd/unbound/dist/winrc/ |
H A D | anchor-update.c | 66 do_lookup(struct ub_ctx* ctx, char* domain) 112 struct ub_ctx* ctx;
|
/netbsd-current/external/bsd/unbound/dist/testdata/pylib.tdir/ |
H A D | pylib.lookup.py | 22 ctx = unbound.ub_ctx()
|
/netbsd-current/external/bsd/unbound/dist/testcode/ |
H A D | asynclook.c | 178 struct ub_ctx* ctx; 359 ext_test(struct ub_ctx* ctx, int argc, char** argv) 405 struct ub_ctx* ctx;
|
/netbsd-current/external/bsd/unbound/dist/smallapp/ |
H A D | unbound-host.c | 367 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;
|