DOKK / manpages / debian 12 / libobus-ocaml-bin / obus-gen-client.1.en
OBUS-GEN-CLIENT(1) General Commands Manual OBUS-GEN-CLIENT(1)

obus-gen-client - generate client-side ocaml bindings from D-Bus introspection files

obus-gen-client [ options ] input-file

obus-gen-client generates an ocaml module from D-Bus introspection files. The generated module contains functions to send method calls, receive signals and read/write properties. It depends on the interface module generated with obus-gen-interface.

The module generated by obus-gen-client it is meant to be edited.

Use this name as output prefix. It defaults to the input file name without its extension and extended with "_client". For example, if the input file name is "foo.xml" (or "foo.obus"), then "obus-gen-client" will generate "foo_client.ml" and "foo_client.mli".

Keeps common interfaces, i.e. all interfaces starting with "org.freedesktop.DBus". By default they are dropped.

Display a short usage summary and exit.

Jérémie Dimino <jeremie@dimino.org>

obus-introspect(1), obus-gen-interface(1), obus-gen-server(1).

April 2010