diff options
author | Havoc Pennington <hp@redhat.com> | 2005-02-05 03:24:54 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-02-05 03:24:54 +0000 |
commit | 849493eafbd549a909c79b1619f5cb98f6533cf0 (patch) | |
tree | 7b5cbfb9de72c3bcd82fe8d4b0962f3d4aee8590 /doc/introspect.dtd | |
parent | 671246e6acfc54e9f7fa52de8a269bfe48f3f212 (diff) |
2005-02-04 Havoc Pennington <hp@redhat.com>
* doc/Makefile.am (EXTRA_DIST): add DTDs to makefile
* doc/introspect.dtd: add introspect.dtd from David A. Wheeler
(with some minor changes)
* doc/dbus-specification.xml: add deprecated attribute to
introspection format
Diffstat (limited to 'doc/introspect.dtd')
-rw-r--r-- | doc/introspect.dtd | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/introspect.dtd b/doc/introspect.dtd new file mode 100644 index 00000000..5e1c96df --- /dev/null +++ b/doc/introspect.dtd @@ -0,0 +1,35 @@ +<!-- DTD for D-BUS Introspection data --> +<!-- (C) 2005-02-02 David A. Wheeler; released under the D-BUS licenses, + GNU GPL version 2 (or greater) and AFL 1.1 (or greater) --> + +<!-- see D-BUS specification for documentation --> + +<!ELEMENT node (interface,node)> +<!ATTLIST node name CDATA #REQUIRED> + +<!ELEMENT interface (method,signal,property)> +<!ATTLIST interface name CDATA #REQUIRED> +<!ATTLIST interface deprecated CDATA "no"> + +<!ATTLIST method name CDATA #REQUIRED> +<!ATTLIST method deprecated #IMPLIED> + +<!ELEMENT arg EMPTY> +<!ATTLIST arg name CDATA #REQUIRED> +<!ATTLIST arg type CDATA #REQUIRED> +<!-- Method arguments SHOULD include "direction", + while signal and error arguments SHOULD not (since there's no point). + The DTD format can't express that subtlety. --> +<!ATTLIST arg direction "in|out" #IMPLIED> + +<!ELEMENT signal (arg)> +<!ATTLIST signal name CDATA #REQUIRED> +<!ATTLIST signal deprecated #IMPLIED> + +<!ELEMENT property> <!-- AKA "attribute" --> +<!ATTLIST property name CDATA #REQUIRED> +<!ATTLIST property type CDATA #REQUIRED> +<!ATTLIST property access "read|write|readwrite" #REQUIRED> +<!ATTLIST property deprecated #IMPLIED> + + |