diameter_lib

Types


f() = {module(), atom(), list()} | nonempty_maybe_improper_list(function(), list()) | function()

Functions


get_stacktrace() -> term()

info_report(Reason::term(), T::term()) -> true

error_report(Reason::term(), T::term()) -> false

warning_report(Reason::term(), T::term()) -> false

now_diff(NowT) -> {Hours, Mins, Secs, MicroSecs}

  • NowT = {non_neg_integer(), 0..999999, 0..999999}
  • Hours = non_neg_integer()
  • Mins = 0..59
  • Secs = 0..59
  • MicroSecs = 0..999999

time(NowT::NowT | Diff) -> {Hours, Mins, Secs, MicroSecs}

  • NowT = {non_neg_integer(), 0..999999, 0..999999}
  • Diff = non_neg_integer()
  • Hours = non_neg_integer()
  • Mins = 0..59
  • Secs = 0..59
  • MicroSecs = 0..999999

eval(Fun) -> term()

  • Fun = f() | {f()} | nonempty_maybe_improper_list(f(), list())

eval_name(X) -> term()

ipaddr(Addr::[byte()] | tuple()) -> ip_address() (see module inet) | none()

spawn_opts(X1::server | worker, Opts::list()) -> list()

wait(L::[pid()]) -> ok

fold_tuple(N, T0, T) -> tuple()

  • N = pos_integer()
  • T0 = tuple()
  • T = tuple() | undefined

log(Slogan, Mod, Line, Details) -> term()