package obus

  1. Overview
  2. Docs
Pure Ocaml implementation of the D-Bus protocol

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.3.tar.gz
sha256=75703f78015e15d03d0fdba1633a155875daf17d854225658429e72a0df06258
md5=3090a796f0af95e16838d81656ac4b97

doc/obus.internals/OBus_introspect/index.html

Module OBus_introspectSource

D-Bus obejct introspection

Sourcetype name = string
Sourcetype annotation = name * string
Sourcetype argument = name option * OBus_value.T.single
Sourcetype access =
  1. | Read
  2. | Write
  3. | Read_write
    (*

    Access mode of properties

    *)
Sourcetype member =
  1. | Method of name * argument list * argument list * annotation list
  2. | Signal of name * argument list * annotation list
  3. | Property of name * OBus_value.T.single * access * annotation list
Sourcetype interface = name * member list * annotation list
Sourcetype document = interface list * node list
Xml conversion
Sourceexception Parse_failure of Xmlm.pos * string
Sourceval input : Xmlm.input -> document

Try to read an xml document as an introspection document.

Sourceval output : Xmlm.output -> document -> unit

Create an xml from an introspection document

Well-known annotations
Sourceval deprecated : name

The org.freedesktop.DBus.Deprecated annotation

Sourceval csymbol : name

The org.freedesktop.DBus.GLib.CSymbol annotation

Sourceval no_reply : name

The org.freedesktop.DBus.Method.NoReply annotation

Sourceval emits_changed_signal : name

The org.freedesktop.DBus.Property.EmitsChangedSignal annotation

OCaml

Innovation. Community. Security.