Method

VarlinkInterfaceformat

Declaration [src]

char*
varlink_interface_format (
  const VarlinkInterface* iface
)

Description [src]

Formats iface as canonical varlink interface definition text.

Comments from the original source are not preserved by the parser, so the returned description contains only the interface declaration and its type, method, and error definitions.

This method is not directly available to language bindings.

Return value

Type: char*

A newly allocated varlink interface description.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.