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