OBus_nameSourceD-Bus names
For specific restrictions on D-Bus names, see
General restrictions include:
Bus names
example: "org.freedesktop.DBus", ":1.1"
Interface names
example: "org.freedesktop.DBus.Introspectable"
Methods/signals/properties names
example: "StartServiceByName"
Error names
example: "org.freedesktop.Error.UnknownMethod"
Split a name into longest blocks matched by the regular expression "A-Z*^A-Z.*":
split "SetCPUFreqGovernor" = ["Set"; "CPUFreq"; "Governor"], split "org.freedesktop.DBus" = ["org"; "freedesktop"; "DBus"]
Translate a D-Bus name into an ocaml-style lower-identifier:
caml_lid "SetCPUFreqGovernor" = "set_cpufreq_governor"
Translate a D-Bus name into an ocaml-style upper-identifier:
caml_uid "org.freedesktop.DBus" = "Org_freedesktop_dbus"
Translate a D-Bus name into an haskell-style lower-identifier:
haskell_lid "SetCPUFreqGovernor" = "setCPUFreqGovernor"
Translate a D-Bus name into an haskell-style upper-identifier:
haskell_uid "org.freedesktop.DBus" = "OrgFreedesktopDBus"