diameter_gen_relay
Types
avp() = non_grouped_avp() | grouped_avp()
avp_name() = atom()
avp_record() = tuple()
avp_values() = [{avp_name(), term()}]
grouped_avp() = nonempty_improper_list(#diameter_avp{}, [avp()])
non_grouped_avp() = #diameter_avp{}
parent_name() = atom()
parent_record() = tuple()
Functions
encode_avps(Name::parent_name(), Vals::parent_record() | avp_values()) -> binary() | no_return()
decode_avps(Name::parent_name(), Diameter_avp::[#diameter_avp{}]) -> {parent_record(), [avp()], Failed}
Failed = [{5000..5999, #diameter_avp{}}]