package obus
Pure Ocaml implementation of the D-Bus protocol
Install
Dune Dependency
Authors
Maintainers
Sources
1.2.1.tar.gz
sha256=4001c0756f8edd48a7d3a43ce9d984d3f3946abb627e63bf5ab2376f1b861c99
md5=218be0245e55bfa1d6fdd324bbedf568
doc/obus.policykit/Policy_kit/index.html
Module Policy_kit
PolicyKit interface
val not_authorized : OBus_error.name
Exception raised by services when trying to perform an action for which we do not have authorization from PolicyKit
val obtain_authorization :
action_id:string ->
?xid:int ->
pid:int ->
unit ->
bool Lwt.t
obtain_authorization ~action_id ~xid ~pid
tries to obtain authorization for action_id
. It returns whether it succeed or not.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>