File: nm_connection.mli

package info (click to toggle)
obus 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,480 kB
  • sloc: ml: 14,675; lisp: 52; makefile: 11; xml: 8
file content (40 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download | duplicates (7)
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
(*
 * nm_connection.mli
 * -----------------
 * Copyright : (c) 2010, Pierre Chambart <chambart@crans.org>
 *                 2010, Jeremie Dimino <jeremie@dimino.org>
 * Licence   : BSD3
 *
 * This file is a part of obus, an ocaml implementation of D-Bus.
 *)

(** NetworkManager active connections *)

(** An active connection is a connection that is currently being used *)

include OBus_proxy.Private

(** The connection state *)
type state =
    [ `Unknown
        (** The active connection is in an unknown state. *)
    | `Activating
        (** The connection is activating. *)
    | `Activated
        (** The connection is activated. *) ]

(** {6 Signals} *)

val properties_changed : t -> (string * OBus_value.V.single) list OBus_signal.t

(** {6 Properties} *)

val service_name : t -> string OBus_property.r
val connection : t -> Nm_settings.Connection.t OBus_property.r
val specific_object : t -> OBus_proxy.t OBus_property.r
val devices : t -> Nm_device.t list OBus_property.r
val state : t -> state OBus_property.r
val default : t -> bool OBus_property.r
val vpn : t -> bool OBus_property.r

val properties : t -> OBus_property.group