1d6959bcfSchristos# See ltrace.conf(5) for description of syntax of this file. 2d6959bcfSchristostypedef ub_type = enum(TYPE_A=1,TYPE_NS=2,TYPE_SOA=6,TYPE_MX=15,TYPE_TXT=16,TYPE_AAAA=28,TYPE_DS=43,TYPE_DNSKEY=48,TYPE_TLSA=52,TYPE_ANY=255); 3d6959bcfSchristostypedef ub_class = enum(CLASS_IN=1,CLASS_CH=3,CLASS_NONE=254,CLASS_ANY=255); 4d6959bcfSchristostypedef ub_rcode = enum(RCODE_NOERROR,RCODE_FORMERR,RCODE_SERVFAIL,RCODE_NXDOMAIN,RCODE_NOTIMPL,RCODE_REFUSED,RCODE_YXDOMAIN,RCODE_YXRRSET,RCODE_NXRRSET,RCODE_NOTAUTH,RCODE_NOTZONE); 5d6959bcfSchristostypedef ub_havedata = enum(no_data, have_data); 6d6959bcfSchristostypedef ub_nxdomain = enum(name_exists, nxdomain); 7d6959bcfSchristostypedef ub_secure = enum(not_secure, secure); 8d6959bcfSchristostypedef ub_bogus = enum(not_bogus, bogus); 9d6959bcfSchristostypedef ub_result = struct(string, ub_type, ub_class, array(void*,zero)*, array(int,zero)*, string, ub_rcode, void*, int, ub_havedata, ub_nxdomain, ub_secure, ub_bogus, string, int); 10d6959bcfSchristostypedef ub_ctx = void; 11d6959bcfSchristosub_ctx* ub_ctx_create(void); 12d6959bcfSchristosvoid ub_ctx_delete(ub_ctx*); 13d6959bcfSchristosint ub_ctx_set_option(ub_ctx*, string, string); 14d6959bcfSchristosint ub_ctx_get_option(ub_ctx*, string, +string*); 15d6959bcfSchristosint ub_ctx_config(ub_ctx*, string); 16d6959bcfSchristosint ub_ctx_set_fwd(ub_ctx*, string); 17*9295812bSchristosint ub_ctx_set_tls(ub_ctx*, bool(int)); 18d6959bcfSchristosint ub_ctx_set_stub(ub_ctx*, string, string, bool(int)); 19d6959bcfSchristosint ub_ctx_resolvconf(ub_ctx*, string); 20d6959bcfSchristosint ub_ctx_hosts(ub_ctx*, string); 21d6959bcfSchristosint ub_ctx_add_ta(ub_ctx*, string); 22d6959bcfSchristosint ub_ctx_add_ta_file(ub_ctx*, string); 23d6959bcfSchristosint ub_ctx_add_ta_autr(ub_ctx*, string); 24d6959bcfSchristosint ub_ctx_trustedkeys(ub_ctx*, string); 25d6959bcfSchristosint ub_ctx_debugout(ub_ctx*, void*); 26d6959bcfSchristosint ub_ctx_debuglevel(ub_ctx*, int); 27d6959bcfSchristosint ub_ctx_async(ub_ctx*, bool(int)); 28d6959bcfSchristosint ub_poll(ub_ctx*); 29d6959bcfSchristosint ub_wait(ub_ctx*); 30d6959bcfSchristosint ub_fd(ub_ctx*); 31d6959bcfSchristosint ub_process(ub_ctx*); 32d6959bcfSchristosint ub_resolve(ub_ctx*, string, ub_type, ub_class, +ub_result**); 33d6959bcfSchristosint ub_resolve_async(ub_ctx*, string, ub_type, ub_class, void*, void*, +int*); 34d6959bcfSchristosint ub_cancel(ub_ctx*, int); 35d6959bcfSchristosvoid ub_resolve_free(ub_result*); 36d6959bcfSchristosstring ub_strerror(int); 37d6959bcfSchristosint ub_ctx_print_local_zones(ub_ctx*); 38d6959bcfSchristosint ub_ctx_zone_add(ub_ctx*, string, string); 39d6959bcfSchristosint ub_ctx_zone_remove(ub_ctx*, string); 40d6959bcfSchristosint ub_ctx_data_add(ub_ctx*, string); 41d6959bcfSchristosint ub_ctx_data_remove(ub_ctx*, string); 42d6959bcfSchristosstring ub_version(void); 43