This file is indexed.

/usr/lib/ocaml/obus/uPower_wakeups.mli is in libobus-ocaml-dev 1.1.5-3build1.

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
35
36
37
38
39
40
41
42
43
44
45
46
47
(*
 * uPower_wakeups.mli
 * ------------------
 * Copyright : (c) 2010, Jeremie Dimino <jeremie@dimino.org>
 * Licence   : BSD3
 *
 * This file is a part of obus, an ocaml implementation of D-Bus.
 *)

(** UPower wakeups interface *)

(** {6 Types} *)

(** The data of all the processes and drivers which contribute to the
    wakeups on the system. *)
type data = {
  data_is_userspace : bool;
  (** If the wakeup is from userspace ? *)

  data_id : int;
  (** The process ID of the application, or the IRQ for kernel
      drivers. *)

  data_value : float;
  (** The number of wakeups per second. *)

  data_cmdline : string option;
  (** The command line for the application, or [None] for kernel
      drivers. *)

  data_details : string;
  (** The details about the wakeup. *)
}

(** {6 Methods} *)

val get_data : UPower.t -> data list Lwt.t
val get_total : UPower.t -> int Lwt.t

(** {6 Signals} *)

val data_changed : UPower.t -> unit OBus_signal.t
val total_changed : UPower.t -> int OBus_signal.t

(** {6 Properties} *)

val has_capability : UPower.t -> bool OBus_property.r