Home | History | Annotate | Download | only in libunbound

Lines Matching refs:ub_ctx

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