package obus

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.0.tar.gz
sha256=b8a0707f03d525a98c1c5a380b07074e52f2d26918c7b2ad90b5cc0f99a67f2d
md5=0896d5078bfd486a65cf9fa73a984b3f

doc/obus.hal/Hal_manager/index.html

Module Hal_manager

The Hal manager

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

The Hal manager

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

Innovation. Community. Security.