OBus_stringSourceRestriction 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
type error = {typ : string;Type of string ("string", "bus name", "error name", "path", ...)
*)str : string;The string which fail to validate
*)ofs : int;is the position in bytes where the validation failed
*)msg : string;explains why the string failed to validate
*)}Tests if a string is correct.
NoneSome(ofs, msg)Raises Invalid_string if the given string failed to validate
Type for common strings, restrictions are: