This file is indexed.

/usr/lib/ocaml/obus/oBus_resolver.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
23
24
25
26
27
28
29
30
31
32
33
34
(*
 * oBus_resolver.mli
 * -----------------
 * Copyright : (c) 2008, Jeremie Dimino <jeremie@dimino.org>
 * Licence   : BSD3
 *
 * This file is a part of obus, an ocaml implementation of D-Bus.
 *)

(** Bus name resolving *)

(** This module implement bus names resolving and monitoring.

    - for a unique connection name, it means being notified when the
    peer owning this name exit

    - for a well-known name such as "org.domain.Serivce" it means
    knowing at each time who is the current owner and being notified
    when the service owner change (i.e. the process implementing the
    service change).

    It is basically an abstraction for {!OBus_bus.get_owner} and
    {!OBus_bus.name_owner_changed}. You should prefer using it instead
    of implementing your own name monitoring because resolver are
    shared and obus internally use them, so this avoid extra messages.

    Note that with a peer-to-peer connection, resolver will always act
    as if they is no owner. *)

val make : ?switch : Lwt_switch.t -> OBus_connection.t -> OBus_name.bus -> OBus_name.bus React.signal Lwt.t
  (** [make ?switch bus name] creates a resolver which will monitor
      the name [name] on [bus]. It returns a signal holding the
      current owner of the name. It holds [""] when there is no
      owner. *)