.TH diameterc 1 "diameter 2.2.4" "Ericsson AB" "User Commands" .SH NAME diameterc \- diameterc [] .SH DESCRIPTION .LP 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\&. .LP The module diameter_make(3) provides an alternate compilation interface\&. .SH "USAGE" .RS 2 .TP 2 .B diameterc [] : Compile a single dictionary file to Erlang source\&. Valid options are as follows\&. .RS 2 .TP 2 .B -i : Prepend the specified directory to the code path\&. Use to point at beam files compiled from inherited dictionaries, \fI@inherits\fR\& in a dictionary file creating a beam dependency, not an erl/hrl dependency\&. .RS 2 .LP Multiple \fI-i\fR\& options can be specified\&. .RE .TP 2 .B -o : Write generated source to the specified directory\&. Defaults to the current working directory\&. .TP 2 .B -E: .TP 2 .B -H: Suppress erl and hrl generation, respectively\&. .TP 2 .B --name : .TP 2 .B --prefix : Transform the input dictionary before compilation, setting \fI@name\fR\& or \fI@prefix\fR\& to the specified string\&. .TP 2 .B --inherits : Transform the input dictionary before compilation, appending \fI@inherits\fR\& of the specified string\&. .RS 2 .LP Two forms of \fI--inherits\fR\& have special meaning: .RE .LP .nf --inherits - --inherits Prev/Mod .fi .RS 2 .LP The first has the effect of clearing any previous inherits, the second of replacing a previous inherits of \fIPrev\fR\& to one of \fIMod\fR\&\&. This allows the semantics of the input dictionary to be changed without modifying the file itself\&. .RE .RS 2 .LP Multiple \fI--inherits\fR\& options can be specified\&. .RE .RE .RE .SH "EXIT STATUS" .LP Returns 0 on success, non-zero on failure\&. .SH "SEE ALSO" .LP diameter_make(3), diameter_dict(4)