package obus

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.3.tar.gz
sha256=75703f78015e15d03d0fdba1633a155875daf17d854225658429e72a0df06258
md5=3090a796f0af95e16838d81656ac4b97

doc/src/obus.network_manager/nm_ppp.ml.html

Source file nm_ppp.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(*
 * nm_ppp.ml
 * ---------
 * Copyright : (c) 2010, Jeremie Dimino <jeremie@dimino.org>
 * Licence   : BSD3
 *)

include OBus_proxy.Private

open Nm_interfaces.Org_freedesktop_NetworkManager_PPP

let need_secrets proxy =
  OBus_method.call m_NeedSecrets proxy ()

let set_ip4_config proxy ~config =
  OBus_method.call m_SetIp4Config proxy config

let set_state proxy ~state =
  let state = Int32.of_int state in
  OBus_method.call m_SetState proxy state
OCaml

Innovation. Community. Security.