The ifgen Interface Generation tool parses interface definition (.api) files, and generates IPC code (as needed).

ifgen is usually run automatically by the mk Tools, but can be used on its own to generate IPC code to be compiled into a legacy program that is built using its own build system. See Use Legato Services for more information on this use case.

ifgen usage details are displayed using the -h or --help options:

Related info about ifgen: API Files.