dictionary file'> %also; %here; ]>
20112013 Ericsson AB. All Rights Reserved. The program may be used and/or copied only with the written permission from Ericsson AB, or in accordance with the terms and conditions stipulated in the agreement/contract under which the program has been supplied. diameterc(1) diameterc.xml
diameterc ] ]]>

The diameterc utility is used to compile a diameter &dictionary; into Erlang source. The resulting source implements the interface diameter required to encode and decode the dictionary's messages and AVPs.

The module &man_make; provides an alternate compilation interface.

USAGE ] ]]>

Compile a single dictionary file to Erlang source. Valid options are as follows.

]]>

Prepend the specified directory to the code path. Use to point at beam files compiled from inherited dictionaries, &dict_inherits; in a dictionary file creating a beam dependency, not an erl/hrl dependency.

Multiple -i options can be specified.

]]>

Write generated source to the specified directory. Defaults to the current working directory.

Suppress erl and hrl generation, respectively.

]]> ]]>

Transform the input dictionary before compilation, setting &dict_name; or &dict_prefix; to the specified string.

]]>

Transform the input dictionary before compilation, appending &dict_inherits; of the specified string.

Two forms of --inherits have special meaning:

--inherits -
--inherits Prev/Mod

The first has the effect of clearing any previous inherits, the second of replacing a previous inherits of Prev to one of Mod. This allows the semantics of the input dictionary to be changed without modifying the file itself.

Multiple --inherits options can be specified.

EXIT STATUS

Returns 0 on success, non-zero on failure.

SEE ALSO

&man_make;, &man_dict;