User's Guide
Reference Manual
Release Notes
PDF
Top

Diameter
Reference Manual
Version 0.10

Expand All
Contract All

Table of Contents

- diameter
  - Top of manual page
  - add_transport/2
  - call/4
  - origin_state_id/0
  - remove_transport/2
  - service_info/2
  - services/0
  - session_id/1
  - start/0
  - start_service/2
  - stop/0
  - stop_service/1
  - subscribe/1
  - unsubscribe/1
- diameterc
- diameter_app
  - Top of manual page
  - Mod:peer_up/3
  - Mod:peer_down/3
  - Mod:pick_peer/4
  - Mod:prepare_request/3
  - Mod:prepare_retransmit/3
  - Mod:handle_answer/4
  - Mod:handle_error/4
  - Mod:handle_request/3
- diameter_dict
- diameter_transport
  - Top of manual page
  - Mod:start/3
- diameter_tcp
  - Top of manual page
  - start/3
- diameter_sctp
  - Top of manual page
  - start/3

# diameterc

### COMMAND

diameterc

### COMMAND SUMMARY

diameterc [<options>] <file>

### DESCRIPTION

The diameterc utility is used to transform diameter dictionary files into Erlang source. The resulting source implements the interface diameter requires to encode and decode the dictionary's messages and AVP's.

### USAGE

diameterc [<options>] <file>

  Transforms a single dictionary file. Valid options are as follows.

  -o <dir>

    Specifies the directory into which the generated source should be written. Defaults to the current working directory.

  -i <dir>

    Specifies a directory to add to the code path. Typically used to point at beam files corresponding to dictionaries included by the one being compiled (using the @includes directive): inclusion is a beam dependency, not an erl/hrl dependency.

    Multiple -i options can be specified.

  -E

    Supresses erl generation.

  -H

    Supresses hrl generation.

### EXIT STATUS

Returns 0 on success, non-zero on failure.

### BUGS

The identification of errors in the source file is poor.

### SEE ALSO

diameter_dict(4)