block: implement the bdrv_reopen_prepare helper for LUKS driver
[qemu/ar7.git] / tests / qapi-schema / doc-good.texi
blob0aed2300a557499944c10aab217164ce62d993eb
1 @c AUTOMATICALLY GENERATED, DO NOT MODIFY
3 @section Section
5 @subsection Subsection
7 @strong{strong} @emph{with emphasis}
8 @code{var} @{in braces@}
9 @itemize @bullet
10 @item
11 List item one
12 @item
13 Two, multiple
14 lines
16 @item
17 Three
18 Still in list
20 @end itemize
22 Not in list
23 @itemize @minus
24 @item
25 Second list
26 Note: still in list
28 @end itemize
30 Note: not in list
31 @enumerate
32 @item
33 Third list
34 is numbered
36 @item
37 another item
39 @example
40 example
41 @end example
43 @example
44 multiple lines
45 @end example
48 @end enumerate
50 Returns: the King
51 Since: the first age
52 Notes:
54 @enumerate
55 @item
56 Lorem ipsum dolor sit amet
58 @item
59 Ut enim ad minim veniam
61 @end enumerate
63 Duis aute irure dolor
65 Example:
67 -> in
68 <- out
69 Examples:
70 @itemize @minus
71 @item
72 @strong{verbatim}
73 @item
74 @{braces@}
75 @end itemize
79 @deftp {Enum} Enum
83 @b{Values:}
84 @table @asis
85 @item @code{one}
86 The @emph{one} @{and only@}
87 @item @code{two}
88 Not documented
89 @end table
90 @code{two} is undocumented
92 @end deftp
96 @deftp {Object} Base
100 @b{Members:}
101 @table @asis
102 @item @code{base1: Enum}
103 the first member
104 @end table
106 @end deftp
110 @deftp {Object} Variant1
112 A paragraph
114 Another paragraph (but no @code{var}: line)
116 @b{Members:}
117 @table @asis
118 @item @code{var1: string}
119 Not documented
120 @end table
122 @end deftp
126 @deftp {Object} Variant2
130 @end deftp
134 @deftp {Object} Object
138 @b{Members:}
139 @table @asis
140 @item The members of @code{Base}
141 @item The members of @code{Variant1} when @code{base1} is @t{"one"}
142 @item The members of @code{Variant2} when @code{base1} is @t{"two"}
143 @end table
145 @end deftp
149 @deftp {Object} SugaredUnion
153 @b{Members:}
154 @table @asis
155 @item @code{type}
156 One of @t{"one"}, @t{"two"}
157 @item @code{data: Variant1} when @code{type} is @t{"one"}
158 @item @code{data: Variant2} when @code{type} is @t{"two"}
159 @end table
161 @end deftp
164 @subsection Another subsection
167 @deftypefn Command {} cmd
171 @b{Arguments:}
172 @table @asis
173 @item @code{arg1: int}
174 the first argument
175 @item @code{arg2: string} (optional)
176 the second
177 argument
178 @item @code{arg3: boolean}
179 Not documented
180 @end table
182 @b{Note:}
183 @code{arg3} is undocumented
185 @b{Returns:}
186 @code{Object}
188 @b{TODO:}
189 frobnicate
191 @b{Notes:}
192 @itemize @minus
193 @item
194 Lorem ipsum dolor sit amet
195 @item
196 Ut enim ad minim veniam
198 @end itemize
200 Duis aute irure dolor
202 @b{Example:}
203 @example
204 -> in
205 <- out
206 @end example
208 @b{Examples:}
209 @example
210 - *verbatim*
211 - @{braces@}
212 @end example
214 @b{Since:}
215 2.10
217 @end deftypefn
221 @deftypefn Command {} cmd-boxed
223 If you're bored enough to read this, go see a video of boxed cats
225 @b{Arguments:} the members of @code{Object}
227 @b{Example:}
228 @example
229 -> in
231 <- out
232 @end example
234 @end deftypefn