aboutsummaryrefslogblamecommitdiffstats
path: root/lib/diameter/doc/src/diameter_compile.xml
blob: 0bd7ad1789064a31bd538646c2861dbd10e57367 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
                                      

                                                              



                                        
  



           
                                  

























                                                                       


                                                               

                                                             


                                                                      









                                                   

                                                  



                               
                                                 
                                                                

                                                           




                                                







                                                  
                         


                         
                                                 

       
                                    


                                        

                                                               





                                             



                                                                 




                                                        



















                                                                              


                       
                          



          
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE comref SYSTEM "comref.dtd" [
  <!ENTITY dictionary
  '<seealso marker="diameter_dict">dictionary file</seealso>'>
  <!ENTITY % also SYSTEM "seealso.ent" >
  <!ENTITY % here SYSTEM "seehere.ent" >
  %also;
  %here;
]>

<comref>
<header>
<copyright>
<year>2011</year><year>2012</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>

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.

</legalnotice>

<title>diameterc(1)</title>

<prepared></prepared>
<docno></docno>
<date></date>
<rev></rev>
<file>diameter_compile.xml</file>
</header>

<com>diameterc</com>
<comsummary><![CDATA[diameterc [<options>] <file>]]></comsummary>

<description>

<p>
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 AVP's.</p>

<p>
The module &man_make; provides an alternate compilation interface.</p>

</description>

<section>
<title>USAGE</title>

<taglist>

<tag><![CDATA[diameterc [<options>] <file>]]></tag>
<item>
<p>
Compile a single dictionary file to Erlang source.
Valid options are as follows.</p>

<tag><![CDATA[-i <dir>]]></tag>
<item>
<p>
Prepend the specified directory to the code path.
Use to point at beam files compiled from inherited dictionaries,
<c>&dict_inherits;</c> in a dictionary file creating a beam
dependency, not an erl/hrl dependency.</p>

<p>
Multiple <c>-i</c> options can be specified.</p>
</item>

<taglist>
<tag><![CDATA[-o <dir>]]></tag>
<item>
<p>
Write generated source to the specified directory.
Defaults to the current working directory.</p>
</item>

<tag><![CDATA[-E]]></tag>
<tag><![CDATA[-H]]></tag>
<item>
<p>
Supress erl and hrl generation, respectively.</p>
</item>

<tag><![CDATA[--name <name>]]></tag>
<tag><![CDATA[--prefix <prefix>]]></tag>
<item>
<p>
Set <c>&dict_name;</c> or <c>&dict_prefix;</c> to the specified
string.
Overrides any setting in the file itself.</p>
</item>

<tag><![CDATA[--inherits <dict>]]></tag>
<item>
<p>
Append &dict_inherits; of the specified module.
Specifying <c>"-"</c> has the effect of discarding clearing any
previous inherits, both in the dictionary file and on the options
list.</p>

<p>
Multiple <c>--inherits</c> options can be specified.</p>
</item>

</taglist>

</item>
</taglist>

</section>

<!-- ===================================================================== -->

<section>
<title>EXIT STATUS</title>

<p>
Returns 0 on success, non-zero on failure.</p>

</section>

<!-- ===================================================================== -->

<section>
<title>SEE ALSO</title>

<p>
&man_make;, &man_dict;</p>

</section>

</comref>