module V: sig
.. end
D-Bus values
type
basic =
| |
Byte of char |
| |
Boolean of bool |
| |
Int16 of int |
| |
Int32 of int32 |
| |
Int64 of int64 |
| |
Uint16 of int |
| |
Uint32 of int32 |
| |
Uint64 of int64 |
| |
Double of float |
| |
String of string |
| |
Signature of OBus_value.signature |
| |
Object_path of OBus_path.t |
| |
Unix_fd of Unix.file_descr |
type
single = private
type
sequence = single list
Constructors
val byte : char -> basic
val boolean : bool -> basic
val int16 : int -> basic
val int32 : int32 -> basic
val int64 : int64 -> basic
val uint16 : int -> basic
val uint32 : int32 -> basic
val uint64 : int64 -> basic
val double : float -> basic
val string : string -> basic
val signature : OBus_value.signature -> basic
val object_path : OBus_path.t -> basic
val unix_fd : Unix.file_descr -> basic
val basic : basic -> single
val array : OBus_value.T.single -> single list -> single
val byte_array : string -> single
val dict : OBus_value.T.basic ->
OBus_value.T.single ->
(basic * single) list -> single
val structure : single list -> single
val variant : single -> single
val basic_byte : char -> single
val basic_boolean : bool -> single
val basic_int16 : int -> single
val basic_int32 : int32 -> single
val basic_int64 : int64 -> single
val basic_uint16 : int -> single
val basic_uint32 : int32 -> single
val basic_uint64 : int64 -> single
val basic_double : float -> single
val basic_string : string -> single
val basic_signature : OBus_value.signature -> single
val basic_object_path : OBus_path.t -> single
val basic_unix_fd : Unix.file_descr -> single
Typing
val type_of_basic : basic -> OBus_value.T.basic
val type_of_single : single -> OBus_value.T.single
val type_of_sequence : sequence -> OBus_value.T.sequence
Pretty printing
val print_basic : Format.formatter -> basic -> unit
val print_single : Format.formatter -> single -> unit
val print_sequence : Format.formatter -> sequence -> unit
val string_of_basic : basic -> string
val string_of_single : single -> string
val string_of_sequence : sequence -> string
File descriptors utils
val basic_dup : basic -> basic
val single_dup : single -> single
val sequence_dup : sequence -> sequence
Duplicates all file descriptors of the given value
val basic_close : basic -> unit Lwt.t
val single_close : single -> unit Lwt.t
val sequence_close : sequence -> unit Lwt.t
Closes all file descriptors of the given value