package obus

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

Install

Dune Dependency

Authors

Maintainers

Sources

obus-1.2.5.tar.gz
md5=81eb1034c6ef4421a2368a9b352199de
sha512=4b540497188a7d78f4f14f94c6b7fdff47dd06436a34e650ff378dd77bb3e2acb7afd45cd72daf4ddba06e732e9944d560c2882dc37862f1b1f1bb6df37e6205

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.