diameter_make
diameter_make
Module
diameter_make
Module summary
Diameter dictionary compilation.
Description
The function codec/2
is used to compile a diameter dictionary file
into Erlang source. The resulting source implements the interface diameter requires to encode and decode the dictionary's messages and AVPs.
The utility diameterc(1)
provides an alternate compilation interface.
Exports
codec(File :: iolist() | binary(), [Opt]) -> ok | {ok, [Out]} | {error, Reason}
Compile a single dictionary file. The input File
can be either a path or a literal dictionary, the occurrence of newline (ascii NL) or carria