Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

diameterc (1)

Name

diameterc - diameterc [<options>] <file>

Synopsis

Please see following description for synopsis

Description

diameterc(1)                     User Commands                    diameterc(1)



NAME
       diameterc - diameterc [<options>] <file>

DESCRIPTION
       The  diameterc  utility  is  used to compile a diameter dictionary file
       into Erlang source. The resulting source implements the interface diam-
       eter required to encode and decode the dictionary's messages and AVPs.

       The  module  diameter_make(3)  provides an alternate compilation inter-
       face.

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, @inherits  in  a
             dictionary file creating a beam dependency, not an erl/hrl depen-
             dency.

             Multiple -i options 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 @name
             or @prefix to the specified string.

           --inherits <arg>:
             Transform the  input  dictionary  before  compilation,  appending
             @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.


ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/erlang   |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
SEE ALSO
       diameter_make(3), diameter_dict(4)


NOTES
       This    software    was    built    from    source     available     at
       https://java.net/projects/solaris-userland.    The  original  community
       source     was     downloaded     from      http://www.erlang.org/down-
       load/otp_src_17.5.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.erlang.org/.



Ericsson AB                      diameter 1.9                     diameterc(1)