.TH diameterc 1 "diameter 1.1" "Ericsson AB" "User Commands" .SH NAME diameterc \- diameterc [] .SH DESCRIPTION .LP The diameterc utility is used to transform diameter \fBdictionary files\fR\& into Erlang source\&. The resulting source implements the interface diameter requires to encode and decode the dictionary\&'s messages and AVP\&'s\&. .SH "USAGE" .RS 2 .TP 2 .B diameterc [] : Transforms a single dictionary file\&. Valid options are as follows\&. .RS 2 .TP 2 .B -o : Specifies the directory into which the generated source should be written\&. Defaults to the current working directory\&. .TP 2 .B -i : Specifies a directory to add to the code path\&. Use to point at beam files corresponding to dictionaries inherited by the one being compiled using \fI@inherits\fR\& or \fI--inherits\fR\&\&. Inheritance is a beam dependency, not an erl/hrl dependency\&. .RS 2 .LP Multiple \fI-i\fR\& options can be specified\&. .RE .TP 2 .B -E: Supresses erl generation\&. .TP 2 .B -H: Supresses hrl generation\&. .TP 2 .B --name : Set \fI@name\fR\& in the dictionary file\&. Overrides any setting in the file itself\&. .TP 2 .B --prefix : Set \fI@prefix\fR\& in the dictionary file\&. Overrides any setting in the file itself\&. .TP 2 .B --inherits : Append an \fI@inherits\fR\& to the dictionary file\&. Specifying \fI\&'-\&'\fR\& as the dictionary has the effect of clearing any previous inherits, effectively ignoring previous inherits\&. .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 "BUGS" .LP The identification of errors in the source file is poor\&. .SH "SEE ALSO" .LP \fBdiameter_dict(5)\fR\&