obus-gen-client(1)

obus-gen-client1

Generate client-side ocaml bindings from d-bus introspection files

Usage

obus-gen-client [options] input-file

Overview

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.

Options

-o output-prefix

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".

-keep-common

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

-help or --help

Display a short usage summary and exit.

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

Author

Jérémie Dimino <[email protected]>

From libobus-ocaml-bin 1.2.5-1+b9 in Debian 13 (Trixie). Parsed by carta from the page's man source.