package obus

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

Install

Dune Dependency

Authors

Maintainers

Sources

obus-1.2.5.tar.gz
md5=81eb1034c6ef4421a2368a9b352199de
sha512=4b540497188a7d78f4f14f94c6b7fdff47dd06436a34e650ff378dd77bb3e2acb7afd45cd72daf4ddba06e732e9944d560c2882dc37862f1b1f1bb6df37e6205

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.