Lines Matching defs:ctx
90 struct ub_ctx* ctx; in ub_ctx_create_nopipe() local
181 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create() local
217 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_ub_event() local
231 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_event() local
256 static void ub_stop_bg(struct ub_ctx* ctx) in ub_stop_bg()
302 ub_ctx_delete(struct ub_ctx* ctx) in ub_ctx_delete()
402 ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val) in ub_ctx_set_option()
418 ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str) in ub_ctx_get_option()
431 ub_ctx_config(struct ub_ctx* ctx, const char* fname) in ub_ctx_config()
447 ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta) in ub_ctx_add_ta()
466 ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname) in ub_ctx_add_ta_file()
484 int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname) in ub_ctx_add_ta_autr()
504 ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname) in ub_ctx_trustedkeys()
523 ub_ctx_debuglevel(struct ub_ctx* ctx, int d) in ub_ctx_debuglevel()
532 int ub_ctx_debugout(struct ub_ctx* ctx, void* out) in ub_ctx_debugout()
544 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async()
561 ub_poll(struct ub_ctx* ctx) in ub_poll()
568 ub_fd(struct ub_ctx* ctx) in ub_fd()
575 process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len, in process_answer_detail()
640 process_answer(struct ub_ctx* ctx, uint8_t* msg, uint32_t len) in process_answer()
659 ub_process(struct ub_ctx* ctx) in ub_process()
683 ub_wait(struct ub_ctx* ctx) in ub_wait()
737 ub_resolve(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve()
781 ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve_event()
823 ub_resolve_async(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve_async()
886 ub_cancel(struct ub_ctx* ctx, int async_id) in ub_cancel()
964 ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr) in ub_ctx_set_fwd()
1034 int ub_ctx_set_tls(struct ub_ctx* ctx, int tls) in ub_ctx_set_tls()
1047 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr, in ub_ctx_set_stub()
1129 ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname) in ub_ctx_resolvconf()
1215 ub_ctx_hosts(struct ub_ctx* ctx, const char* fname) in ub_ctx_hosts()
1319 static int ub_ctx_finalize(struct ub_ctx* ctx) in ub_ctx_finalize()
1331 int ub_ctx_print_local_zones(struct ub_ctx* ctx) in ub_ctx_print_local_zones()
1342 int ub_ctx_zone_add(struct ub_ctx* ctx, const char *zone_name, in ub_ctx_zone_add()
1383 int ub_ctx_zone_remove(struct ub_ctx* ctx, const char *zone_name) in ub_ctx_zone_remove()
1409 int ub_ctx_data_add(struct ub_ctx* ctx, const char *data) in ub_ctx_data_add()
1419 int ub_ctx_data_remove(struct ub_ctx* ctx, const char *data) in ub_ctx_data_remove()
1443 ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base) { in ub_ctx_set_event()