package obus

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module OBus_uuidSource

D-Bus universally-unique IDs

D-Bus uuid are used to distinguish message buses, addresses, and machines.

Note that they are not compatible with RFC4122.

Sourcetype t
Sourceval generate : unit -> t

Generate a new uuid

Sourceval of_string : string -> t

Create a uuid from a string. The string must contain an hex-encoded uuid, i.e. be of length 32 and only contain hexadecimal characters. It raise a failure otherwise.

Sourceval to_string : t -> string

Return a hex-encoded string representation of an uuid.

OCaml

Innovation. Community. Security.