D-Bus Spec change: dashes in interface names
Thiago Macieira
thiago at kde.org
Sun Oct 15 13:57:42 PDT 2006
Havoc Pennington wrote:
>I did think of another issue, which is that many programming languages
>allow underscore but not hyphen in identifiers. I think that's also why
>dbus doesn't allow starting things with a number (if I remember right
>that it doesn't allow that).
Each concept has a different rule:
Interfaces:
can use underscore
can NOT use hyphen
can NOT begin with digits
bus names (not unique connection names):
can use underscore
can use hyphen
can NOT begin with digits
object paths:
can use underscore
can NOT use hyphen
can begin with digits
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061015/d879d1a4/attachment.pgp
More information about the dbus
mailing list