Lines Matching refs:ub_ctx

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* ctx, const char* fname);
401 int ub_ctx_hosts(struct ub_ctx* ctx, const char* fname);
414 int ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta);
425 int ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname);
440 int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname);
452 int ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname);
462 int ub_ctx_debugout(struct ub_ctx* ctx, void* out);
472 int ub_ctx_debuglevel(struct ub_ctx* ctx, int d);
484 int ub_ctx_async(struct ub_ctx* ctx, int dothread);
494 int ub_poll(struct ub_ctx* ctx);
503 int ub_wait(struct ub_ctx* ctx);
514 int ub_fd(struct ub_ctx* ctx);
523 int ub_process(struct ub_ctx* ctx);
537 int ub_resolve(struct ub_ctx* ctx, const char* name, int rrtype,
568 int ub_resolve_async(struct ub_ctx* ctx, const char* name, int rrtype,
584 int ub_cancel(struct ub_ctx* ctx, int async_id);
605 int ub_ctx_print_local_zones(struct ub_ctx* ctx);
616 int ub_ctx_zone_add(struct ub_ctx* ctx, const char *zone_name,
626 int ub_ctx_zone_remove(struct ub_ctx* ctx, const char *zone_name);
636 int ub_ctx_data_add(struct ub_ctx* ctx, const char *data);
644 int ub_ctx_data_remove(struct ub_ctx* ctx, const char *data);