diameterc
Command
diameterc
Command Summary
diameterc [<options>] <file>
Description
The diameterc utility is used to compile a diameter dictionary file into Erlang source. The resulting source implements the interface diameter required to encode and decode the dictionary's messages and AVPs.
The module diameter_make(3) provides an alternate compilation interface.
Usage
- diameterc [<options>] <file>
-
Compile a single dictionary file to Erlang source. Valid options are as follows.
- -i <dir>
-
Prepend the specified directory to the code path. Use to point at beam files compiled from inherited dictionaries,
in a dictionary file creating a beam dependency, not an erl/hrl dependency.@inheritsMultiple
-ioptions can be specified. - -o <dir>
-
Write generated source to the specified directory. Defaults to the current working directory.
- -E
- -H
-
Suppress erl and hrl generation, respectively.
- --name <name>
- --prefix <prefix>
-
Transform the input dictionary before compilation, setting
or@nameto the specified string.@prefix - --inherits <arg>
-
Transform the input dictionary before compilation, appending
of the specified string.@inheritsTwo forms of
--inheritshave special meaning:--inherits - --inherits Prev/Mod
The first has the effect of clearing any previous inherits, the second of replacing a previous inherits of
Prevto one ofMod. This allows the semantics of the input dictionary to be changed without modifying the file itself.Multiple
--inheritsoptions can be specified.
Exit status
Returns 0 on success, non-zero on failure.
See also
diameter_make(3), diameter_dict(4)
© 2010–2017 Ericsson AB
Licensed under the Apache License, Version 2.0.