.\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 .TH "DIAMETERC" "1" "April 2024" "" .SH "NAME" \fBdiameterc\fR \- diameterc [ .SH "Description" The diameterc utility is used to compile a diameter \fIdictionary file\fR into Erlang source\. The resulting source implements the interface diameter required to encode and decode the dictionary's messages and AVPs\. .P The module \fBm:diameter_make\fR provides an alternate compilation interface\. .SH "USAGE" .IP "\[ci]" 4 \fBdiameterc [\fIoptions\fR] \fIfile\fR\fR \- Compile a single dictionary file to Erlang source\. Valid options are as follows\. .IP "\[ci]" 4 **\-i .IP Multiple \fB\-i\fR options can be specified\. .IP "\[ci]" 4 **\-o .IP "\[ci]" 4 \fB\-E\fR .IP "\[ci]" 4 \fB\-H\fR \- Suppress erl and hrl generation, respectively\. .IP "\[ci]" 4 \fB\-\-name \fIname\fR\fR .IP "\[ci]" 4 \fB\-\-prefix \fIprefix\fR\fR \- Transform the input dictionary before compilation, setting \fB*@name*\fR or \fB*@prefix*\fR to the specified string\. .IP "\[ci]" 4 \fB\-\-inherits \fIarg\fR\fR \- Transform the input dictionary before compilation, appending \fB*@inherits*\fR of the specified string\. .IP Two forms of \fB\-\-inherits\fR have special meaning: .IP \fB\-\-inherits \- \-\-inherits Prev/Mod\fR .IP The first has the effect of clearing any previous inherits, the second of replacing a previous inherits of \fBPrev\fR to one of \fBMod\fR\. This allows the semantics of the input dictionary to be changed without modifying the file itself\. .IP Multiple \fB\-\-inherits\fR options can be specified\. .IP "" 0 .IP "" 0 .SH "EXIT STATUS" Returns 0 on success, non\-zero on failure\. .SH "SEE ALSO" \fBm:diameter_make\fR, \fIdiameter_dict(4)\fR