OBus_stringRestriction on strings used with D-Bus
There are a lot of restrictions for strings used in D-Bus. OBus only verifies strings when a message is sent or received
val error_message : error -> stringerror_message error returns a human-readable error message
val typ : error -> stringval str : error -> stringval ofs : error -> intval msg : error -> stringtype validator = string -> error optionTests if a string is correct.
NoneSome(ofs, msg)exception Invalid_string of errorval assert_validate : validator -> string -> unitRaises Invalid_string if the given string failed to validate
Type for common strings, restrictions are:
val validate : validatorValidation function for common strings