/usr/lib/ocaml/obus/oBus_method.mli is in libobus-ocaml-dev 1.1.5-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | (*
* oBus_method.mli
* ---------------
* Copyright : (c) 2010, Jeremie Dimino <jeremie@dimino.org>
* Licence : BSD3
*
* This file is a part of obus, an ocaml implementation of D-Bus.
*)
(** D-Bus methods *)
val call : ('a, 'b) OBus_member.Method.t -> OBus_proxy.t -> 'a -> 'b Lwt.t
(** [call meth proxy args] calls the method [meth] on the object
pointed by [proxy], and wait for the reply. *)
val call_with_context : ('a, 'b) OBus_member.Method.t -> OBus_proxy.t -> 'a -> (OBus_context.t * 'b) Lwt.t
(** [call_with_context meth proxy args] is like {!call} except that
is also returns the context of the method return *)
val call_no_reply : ('a, 'b) OBus_member.Method.t -> OBus_proxy.t -> 'a -> unit Lwt.t
(** [call_no_reply meth proxy args] is the same as {!call} except
that it does not wait for a reply *)
|