1nih-dbus-tool(1) General Commands Manual nih-dbus-tool(1)
2
3
4
6 nih-dbus-tool - D-Bus binding code generator
7
9 nih-dbus-tool [OPTIONS]... [-o FILE] [XMLFILE]
10 nih-dbus-tool [OPTIONS]... -o FILE --system|--session --dest=NAME
11 OBJECT-PATH
12
15 The D-Bus introspection format is an XML document describing the inter‐
16 faces implemented by a particular object, including the methods and
17 signals of that interface along with their arguments and the properties
18 of that interface.
19
20 A single document describes a single object, represented by the root
21 <node> tag. Interfaces implemented by that object are specified by
22 <interface> tags within it. Methods, signals and properties defined by
23 the interface are described by <method>, <signal> and <property> tags
24 within the interface. Arguments to methods and signals are defined by
25 <arg> tags within them. Names and other values are specified as
26 attributes to the tag.
27
28 Additional properties for external tools or software may be given in
29 <annotation> tags. These may appear within interfaces, methods, sig‐
30 nals, properties and arguments. nih-dbus-tool makes use of many of
31 these. Note that argument annotations are an nih-dbus-tool extension
32 to the format.
33
34 nih-dbus-tool's parser is reasonably liberal, to allow for future
35 expansion of the D-Bus introspection format. Any unknown tag,
36 attribute or annotation, or any tag not in an expected location, will
37 be ignored with a warning. However a missing root node tag, missing
38 attributes, illegal or invalid format values for defined attributes or
39 non well-formed XML will result in an error.
40
41 Character data and comments are not considered part of description, and
42 are not parsed.
43
46 Written by Scott James Remnant <scott@netsplit.com>
47
49 Report bugs at <https://launchpad.net/libnih/+bugs>
50
52 Copyright © 2009 Scott James Remnant <scott@netsplit.com>.
53
54 This is free software; see the source for copying conditions. There is
55 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
56 PURPOSE.
57
58
59
60libnih-dus 2009-04-11 nih-dbus-tool(1)