Lines Matching defs:ctx

92 	struct ub_ctx* ctx;  in ub_ctx_create_nopipe()  local
184 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create() local
224 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_ub_event() local
238 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_event() local
263 static void ub_stop_bg(struct ub_ctx* ctx) in ub_stop_bg()
309 ub_ctx_delete(struct ub_ctx* ctx) in ub_ctx_delete()
413 ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val) in ub_ctx_set_option()
429 ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str) in ub_ctx_get_option()
442 ub_ctx_config(struct ub_ctx* ctx, const char* fname) in ub_ctx_config()
458 ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta) in ub_ctx_add_ta()
477 ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname) in ub_ctx_add_ta_file()
495 int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname) in ub_ctx_add_ta_autr()
515 ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname) in ub_ctx_trustedkeys()
534 ub_ctx_debuglevel(struct ub_ctx* ctx, int d) in ub_ctx_debuglevel()
543 int ub_ctx_debugout(struct ub_ctx* ctx, void* out) in ub_ctx_debugout()
555 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async()
572 ub_poll(struct ub_ctx* ctx) in ub_poll()
579 ub_fd(struct ub_ctx* ctx) in ub_fd()
586 process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len, in process_answer_detail()
651 process_answer(struct ub_ctx* ctx, uint8_t* msg, uint32_t len) in process_answer()
670 ub_process(struct ub_ctx* ctx) in ub_process()
694 ub_wait(struct ub_ctx* ctx) in ub_wait()
748 ub_resolve(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve()
792 ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve_event()
834 ub_resolve_async(struct ub_ctx* ctx, const char* name, int rrtype, in ub_resolve_async()
897 ub_cancel(struct ub_ctx* ctx, int async_id) in ub_cancel()
975 ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr) in ub_ctx_set_fwd()
1048 int ub_ctx_set_tls(struct ub_ctx* ctx, int tls) in ub_ctx_set_tls()
1061 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr, in ub_ctx_set_stub()
1143 ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname) in ub_ctx_resolvconf()
1229 ub_ctx_hosts(struct ub_ctx* ctx, const char* fname) in ub_ctx_hosts()
1333 static int ub_ctx_finalize(struct ub_ctx* ctx) in ub_ctx_finalize()
1345 int ub_ctx_print_local_zones(struct ub_ctx* ctx) in ub_ctx_print_local_zones()
1356 int ub_ctx_zone_add(struct ub_ctx* ctx, const char *zone_name, in ub_ctx_zone_add()
1397 int ub_ctx_zone_remove(struct ub_ctx* ctx, const char *zone_name) in ub_ctx_zone_remove()
1423 int ub_ctx_data_add(struct ub_ctx* ctx, const char *data) in ub_ctx_data_add()
1433 int ub_ctx_data_remove(struct ub_ctx* ctx, const char *data) in ub_ctx_data_remove()
1457 ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base) { in ub_ctx_set_event()