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.hal/Hal_manager/index.html

Module Hal_managerSource

The Hal manager

include OBus_proxy.Private
Sourcetype t = private OBus_proxy.proxy
Sourceval of_proxy : OBus_proxy.proxy -> t
Sourceval to_proxy : t -> OBus_proxy.proxy
Sourceval manager : unit -> t Lwt.t

The Hal manager

Sourceval get_all_devices : t -> Hal_device.t list Lwt.t
Sourceval get_all_devices_with_properties : t -> (Hal_device.t * (string * Hal_device.property) list) list Lwt.t
Sourceval device_exists : t -> Hal_device.udi -> bool Lwt.t
Sourceval find_device_string_match : t -> string -> string -> Hal_device.t list Lwt.t
Sourceval find_device_by_capability : t -> string -> Hal_device.t list Lwt.t
Sourceval new_device : t -> Hal_device.t Lwt.t
Sourceval remove : t -> Hal_device.t -> unit Lwt.t
Sourceval commit_to_gdl : t -> string -> string -> unit Lwt.t
Sourceval acquire_global_interface_lock : t -> string -> bool -> unit Lwt.t
Sourceval release_global_interface_lock : t -> string -> unit Lwt.t
Sourceval singleton_addon_is_ready : t -> string -> unit Lwt.t
Sourceval device_added : t -> Hal_device.t OBus_signal.t
Sourceval device_removed : t -> Hal_device.t OBus_signal.t
Sourceval new_capability : t -> (Hal_device.t * string) OBus_signal.t
Sourceval global_interface_lock_acquired : t -> (string * string * int) OBus_signal.t
Sourceval global_interface_lock_released : t -> (string * string * int) OBus_signal.t
OCaml

Innovation. Community. Security.