File: nm_ppp.ml

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 (20 lines) | stat: -rw-r--r-- 456 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
(*
 * 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