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.policykit/policy_kit_interfaces.ml.html

Source file policy_kit_interfaces.ml

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
(* File auto-generated by obus-gen-interface, DO NOT EDIT. *)
open OBus_value
open OBus_value.C
open OBus_member
open OBus_object
module Org_freedesktop_PolicyKit_AuthenticationAgent =
struct
  let interface = "org.freedesktop.PolicyKit.AuthenticationAgent"
  let m_ObtainAuthorization = {
    Method.interface = interface;
    Method.member = "ObtainAuthorization";
    Method.i_args = (arg3
                       (Some "action_id", basic_string)
                       (Some "xid", basic_uint32)
                       (Some "pid", basic_uint32));
    Method.o_args = (arg1
                       (Some "gained_authorization", basic_boolean));
    Method.annotations = [];
  }
  type 'a members = {
    m_ObtainAuthorization : 'a OBus_object.t -> string * int32 * int32 -> bool Lwt.t;
  }
  let make members =
    OBus_object.make_interface_unsafe interface
      [
      ]
      [|
        method_info m_ObtainAuthorization members.m_ObtainAuthorization;
      |]
      [|
      |]
      [|
      |]
end
OCaml

Innovation. Community. Security.