---
name: "srpc_generator"
section: "1"
platform: "linux"
package: "libsrpc-bin"
version: "0.10.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/srpc_generator"
---

# srpc\_generator(1)

generates the intermediate code according to input IDL files.

## NAME

srpc\_generator - generates the intermediate code according to input IDL files.

## SNYNOPSIS

srpc\_generator \<IDL\_TYPE\> \<IDL\_FILE\> \<OUTPUT\_DIR\>

## DESCRIPTION

Generate intermediate code according to the Interface Description Language (IDL) file.

## OPTIONS

### mandatory:

- \<IDL TYPE\>

  The supported IDL\_TYPEs are protobuf and thrift.

- \<IDL FILE\>

  IDL\_FILE is the top IDL file name. Only need to input one file name and the correlated files will be parsed recursively.

- \<OUTPUT DIRECTORY\>

  The generated code file will be placed in the OUTPUT\_DIR directory.

## BUGS

No known bugs.

## AUTHOR

Lance Lin (lq27267@gmail.com)
