inet_db

Types


state() = #state{}

Functions


start() -> term()

start_link() -> term()

stop() -> term()

reset() -> term()

add_resolv(File) -> term()

add_hosts(File) -> term()

add_host(IP, Names) -> term()

del_host(IP) -> term()

clear_hosts() -> term()

add_ns(IP) -> term()

add_ns(IP, Port) -> term()

ins_ns(IP) -> term()

ins_ns(IP, Port) -> term()

del_ns(IP) -> term()

del_ns(IP, Port) -> term()

del_ns() -> term()

add_alt_ns(IP) -> term()

add_alt_ns(IP, Port) -> term()

ins_alt_ns(IP) -> term()

ins_alt_ns(IP, Port) -> term()

del_alt_ns(IP) -> term()

del_alt_ns(IP, Port) -> term()

del_alt_ns() -> term()

add_search(Domain) -> term()

ins_search(Domain) -> term()

del_search(Domain) -> term()

del_search() -> term()

set_hostname(Name) -> term()

set_domain(Domain) -> term()

set_lookup(Methods) -> term()

set_recurse(Flag) -> term()

set_timeout(Time) -> term()

set_retry(N) -> term()

set_inet6(Bool) -> term()

set_usevc(Bool) -> term()

set_edns(Version) -> term()

set_udp_payload_size(Size) -> term()

set_resolv_conf(Fname) -> term()

set_hosts_file(Fname) -> term()

get_hosts_file() -> term()

set_socks_server(Server) -> term()

set_socks_port(Port) -> term()

add_socks_methods(Ms) -> term()

del_socks_methods(Ms) -> term()

del_socks_methods() -> term()

add_socks_noproxy(X1) -> term()

del_socks_noproxy(Net) -> term()

set_cache_size(Limit) -> term()

set_cache_refresh(Time) -> term()

clear_cache() -> term()

set_tcp_module(Module) -> term()

tcp_module() -> term()

set_udp_module(Module) -> term()

udp_module() -> term()

set_sctp_module(Family) -> term()

sctp_module() -> term()

add_rc(File) -> term()

add_rc_bin(Bin) -> term()

add_rc_list(List) -> term()

get_rc() -> term()

res_option(Option) -> term()

res_option(Option, Value) -> term()

res_check_option(X1, NSs) -> term()

socks_option(X1) -> term()

gethostname() -> term()

res_update_conf() -> term()

res_update_hosts() -> term()

add_rr(RR) -> term()

add_rr(Domain, Class, Type, TTL, Data) -> term()

del_rr(Domain, Class, Type, Data) -> term()

getbyname(Name, Type) -> term()

get_searchlist() -> term()

res_hostent_by_domain(Domain, Type, Rec) -> term()

gethostbyaddr(IP) -> term()

res_gethostbyaddr(IP, Rec) -> term()

register_socket(Socket, Module) -> term()

unregister_socket(Socket) -> term()

lookup_socket(Socket) -> term()

init(X1::[]) -> {ok, state()}

handle_call(Request::term(), From::{pid(), term()}, State::state()) -> {reply, term(), state()} | {stop, normal, ok, state()}

handle_cast(Msg::term(), State::state()) -> {noreply, state()}

handle_info(Info::term(), State::state()) -> {noreply, state()}

terminate(Reason::term(), State::state()) -> ok

tolower(Cs) -> term()