Lines Matching refs:ub_ctx

87 static struct ub_ctx* ub_ctx_create_nopipe(void)
89 struct ub_ctx* ctx;
108 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
177 struct ub_ctx*
180 struct ub_ctx* ctx = ub_ctx_create_nopipe();
211 struct ub_ctx*
214 struct ub_ctx* ctx = ub_ctx_create_nopipe();
225 struct ub_ctx*
228 struct ub_ctx* ctx = ub_ctx_create_nopipe();
253 static void ub_stop_bg(struct ub_ctx* ctx)
299 ub_ctx_delete(struct ub_ctx* ctx)
361 ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val)
377 ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str)
390 ub_ctx_config(struct ub_ctx* ctx, const char* fname)
406 ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta)
425 ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname)
443 int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname)
463 ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname)
482 ub_ctx_debuglevel(struct ub_ctx* ctx, int d)
491 int ub_ctx_debugout(struct ub_ctx* ctx, void* out)
503 ub_ctx_async(struct ub_ctx* ctx, int dothread)
520 ub_poll(struct ub_ctx* ctx)
527 ub_fd(struct ub_ctx* ctx)
534 process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len,
599 process_answer(struct ub_ctx* ctx, uint8_t* msg, uint32_t len)
618 ub_process(struct ub_ctx* ctx)
642 ub_wait(struct ub_ctx* ctx)
696 ub_resolve(struct ub_ctx* ctx, const char* name, int rrtype,
740 ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
782 ub_resolve_async(struct ub_ctx* ctx, const char* name, int rrtype,
845 ub_cancel(struct ub_ctx* ctx, int async_id)
923 ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr)
993 int ub_ctx_set_tls(struct ub_ctx* ctx, int tls)
1006 int ub_ctx_set_stub(struct ub_ctx* ctx, const char* zone, const char* addr,
1088 ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname)
1174 ub_ctx_hosts(struct ub_ctx* ctx, const char* fname)
1278 static int ub_ctx_finalize(struct ub_ctx* ctx)
1290 int ub_ctx_print_local_zones(struct ub_ctx* ctx)
1301 int ub_ctx_zone_add(struct ub_ctx* ctx, const char *zone_name,
1342 int ub_ctx_zone_remove(struct ub_ctx* ctx, const char *zone_name)
1368 int ub_ctx_data_add(struct ub_ctx* ctx, const char *data)
1378 int ub_ctx_data_remove(struct ub_ctx* ctx, const char *data)
1402 ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base) {