~darkxst/ubuntu/raring/xorg-server/lp1073724

« back to all changes in this revision

Viewing changes to hw/dmx/doc/html/lib_2dmx_2dmx_8c.html

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2010-06-07 14:50:49 UTC
  • mfrom: (0.9.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: james.westby@ubuntu.com-20100607145049-eys326hqtq5mjqxt
Tags: upstream-1.8.1.901
ImportĀ upstreamĀ versionĀ 1.8.1.901

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
<html>
3
 
  <head>
4
 
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5
 
    <title>File Index</title>
6
 
    <link href="doxygen.css" rel="stylesheet" type="text/css">
7
 
  </head>
8
 
  <body>
9
 
<!-- Generated by Doxygen 1.3.4 -->
10
 
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11
 
<h1>dmx.c File Reference</h1><code>#include &lt;X11/Xlibint.h&gt;</code><br>
12
 
<code>#include "Xext.h"</code><br>
13
 
<code>#include "extutil.h"</code><br>
14
 
<code>#include "<a class="el" href="dmxproto_8h-source.html">dmxproto.h</a>"</code><br>
15
 
<code>#include "<a class="el" href="dmxext_8h-source.html">dmxext.h</a>"</code><br>
16
 
<table border=0 cellpadding=0 cellspacing=0>
17
 
<tr><td></td></tr>
18
 
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
19
 
<tr><td class="memItemLeft" nowrap align=right valign=top>dmx_extension_info Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a10">DMXQueryExtension</a> (Display *dpy, int *event_basep, int *error_basep)</td></tr>
20
 
 
21
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a11">DMXQueryVersion</a> (Display *dpy, int *majorVersion, int *minorVersion, int *patchVersion)</td></tr>
22
 
 
23
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a12">DMXSync</a> (Display *dpy)</td></tr>
24
 
 
25
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a13">DMXForceWindowCreation</a> (Display *dpy, Window window)</td></tr>
26
 
 
27
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a14">DMXGetScreenCount</a> (Display *dpy, int *screen_count)</td></tr>
28
 
 
29
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a15">DMXGetScreenAttributes</a> (Display *dpy, int physical_screen, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attr)</td></tr>
30
 
 
31
 
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a20">DMXChangeScreensAttributes</a> (Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attrs, int *error_screen)</td></tr>
32
 
 
33
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a21">DMXAddScreen</a> (Display *dpy, const  char *displayName, unsigned int mask, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attr, int *screen)</td></tr>
34
 
 
35
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a22">DMXRemoveScreen</a> (Display *dpy, int screen)</td></tr>
36
 
 
37
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a23">DMXGetWindowAttributes</a> (Display *dpy, Window window, int *screen_count, int available_count, <a class="el" href="structDMXWindowAttributes.html">DMXWindowAttributes</a> *inf)</td></tr>
38
 
 
39
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a24">DMXGetDesktopAttributes</a> (Display *dpy, <a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *attr)</td></tr>
40
 
 
41
 
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a27">DMXChangeDesktopAttributes</a> (Display *dpy, unsigned int mask, <a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *attr)</td></tr>
42
 
 
43
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a28">DMXGetInputCount</a> (Display *dpy, int *input_count)</td></tr>
44
 
 
45
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a29">DMXGetInputAttributes</a> (Display *dpy, int id, <a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *inf)</td></tr>
46
 
 
47
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a30">DMXAddInput</a> (Display *dpy, unsigned int mask, <a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *attr, int *id)</td></tr>
48
 
 
49
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a31">DMXAddBackendInput</a> (Display *dpy, int screen, int sendsCore, int *newId)</td></tr>
50
 
 
51
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a32">DMXAddConsoleInput</a> (Display *dpy, const  char *name, int sendsCore, int *newId)</td></tr>
52
 
 
53
 
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="lib_2dmx_2dmx_8c.html#a33">DMXRemoveInput</a> (Display *dpy, int id)</td></tr>
54
 
 
55
 
</table>
56
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
57
 
This file implements the client-side part of the DMX protocol. It can be included in client applications by linking with the libdmx.a library.<hr><h2>Function Documentation</h2>
58
 
<a class="anchor" name="a31" doxytag="lib/dmx/dmx.c::DMXAddBackendInput" ></a><p>
59
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
60
 
  <tr>
61
 
    <td class="mdRow">
62
 
      <table cellpadding="0" cellspacing="0" border="0">
63
 
        <tr>
64
 
          <td class="md" nowrap valign="top"> Bool DMXAddBackendInput </td>
65
 
          <td class="md" valign="top">(&nbsp;</td>
66
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
67
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
68
 
        </tr>
69
 
        <tr>
70
 
          <td></td>
71
 
          <td></td>
72
 
          <td class="md" nowrap>int&nbsp;</td>
73
 
          <td class="mdname" nowrap> <em>screen</em>, </td>
74
 
        </tr>
75
 
        <tr>
76
 
          <td></td>
77
 
          <td></td>
78
 
          <td class="md" nowrap>int&nbsp;</td>
79
 
          <td class="mdname" nowrap> <em>sendsCore</em>, </td>
80
 
        </tr>
81
 
        <tr>
82
 
          <td></td>
83
 
          <td></td>
84
 
          <td class="md" nowrap>int *&nbsp;</td>
85
 
          <td class="mdname" nowrap> <em>newId</em></td>
86
 
        </tr>
87
 
        <tr>
88
 
          <td></td>
89
 
          <td class="md">)&nbsp;</td>
90
 
          <td class="md" colspan="2"></td>
91
 
        </tr>
92
 
 
93
 
      </table>
94
 
    </td>
95
 
  </tr>
96
 
</table>
97
 
<table cellspacing=5 cellpadding=0 border=0>
98
 
  <tr>
99
 
    <td>
100
 
      &nbsp;
101
 
    </td>
102
 
    <td>
103
 
 
104
 
<p>
105
 
Add backend input (a helper function that calls <a class="el" href="lib_2dmx_2dmx_8c.html#a30">DMXAddInput</a>).     </td>
106
 
  </tr>
107
 
</table>
108
 
<a class="anchor" name="a32" doxytag="lib/dmx/dmx.c::DMXAddConsoleInput" ></a><p>
109
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
110
 
  <tr>
111
 
    <td class="mdRow">
112
 
      <table cellpadding="0" cellspacing="0" border="0">
113
 
        <tr>
114
 
          <td class="md" nowrap valign="top"> Bool DMXAddConsoleInput </td>
115
 
          <td class="md" valign="top">(&nbsp;</td>
116
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
117
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
118
 
        </tr>
119
 
        <tr>
120
 
          <td></td>
121
 
          <td></td>
122
 
          <td class="md" nowrap>const char *&nbsp;</td>
123
 
          <td class="mdname" nowrap> <em>name</em>, </td>
124
 
        </tr>
125
 
        <tr>
126
 
          <td></td>
127
 
          <td></td>
128
 
          <td class="md" nowrap>int&nbsp;</td>
129
 
          <td class="mdname" nowrap> <em>sendsCore</em>, </td>
130
 
        </tr>
131
 
        <tr>
132
 
          <td></td>
133
 
          <td></td>
134
 
          <td class="md" nowrap>int *&nbsp;</td>
135
 
          <td class="mdname" nowrap> <em>newId</em></td>
136
 
        </tr>
137
 
        <tr>
138
 
          <td></td>
139
 
          <td class="md">)&nbsp;</td>
140
 
          <td class="md" colspan="2"></td>
141
 
        </tr>
142
 
 
143
 
      </table>
144
 
    </td>
145
 
  </tr>
146
 
</table>
147
 
<table cellspacing=5 cellpadding=0 border=0>
148
 
  <tr>
149
 
    <td>
150
 
      &nbsp;
151
 
    </td>
152
 
    <td>
153
 
 
154
 
<p>
155
 
Add console input (a helper function that calls <a class="el" href="lib_2dmx_2dmx_8c.html#a30">DMXAddInput</a>).     </td>
156
 
  </tr>
157
 
</table>
158
 
<a class="anchor" name="a30" doxytag="lib/dmx/dmx.c::DMXAddInput" ></a><p>
159
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
160
 
  <tr>
161
 
    <td class="mdRow">
162
 
      <table cellpadding="0" cellspacing="0" border="0">
163
 
        <tr>
164
 
          <td class="md" nowrap valign="top"> Bool DMXAddInput </td>
165
 
          <td class="md" valign="top">(&nbsp;</td>
166
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
167
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
168
 
        </tr>
169
 
        <tr>
170
 
          <td></td>
171
 
          <td></td>
172
 
          <td class="md" nowrap>unsigned int&nbsp;</td>
173
 
          <td class="mdname" nowrap> <em>mask</em>, </td>
174
 
        </tr>
175
 
        <tr>
176
 
          <td></td>
177
 
          <td></td>
178
 
          <td class="md" nowrap><a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *&nbsp;</td>
179
 
          <td class="mdname" nowrap> <em>attr</em>, </td>
180
 
        </tr>
181
 
        <tr>
182
 
          <td></td>
183
 
          <td></td>
184
 
          <td class="md" nowrap>int *&nbsp;</td>
185
 
          <td class="mdname" nowrap> <em>id</em></td>
186
 
        </tr>
187
 
        <tr>
188
 
          <td></td>
189
 
          <td class="md">)&nbsp;</td>
190
 
          <td class="md" colspan="2"></td>
191
 
        </tr>
192
 
 
193
 
      </table>
194
 
    </td>
195
 
  </tr>
196
 
</table>
197
 
<table cellspacing=5 cellpadding=0 border=0>
198
 
  <tr>
199
 
    <td>
200
 
      &nbsp;
201
 
    </td>
202
 
    <td>
203
 
 
204
 
<p>
205
 
Add input.     </td>
206
 
  </tr>
207
 
</table>
208
 
<a class="anchor" name="a21" doxytag="lib/dmx/dmx.c::DMXAddScreen" ></a><p>
209
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
210
 
  <tr>
211
 
    <td class="mdRow">
212
 
      <table cellpadding="0" cellspacing="0" border="0">
213
 
        <tr>
214
 
          <td class="md" nowrap valign="top"> Bool DMXAddScreen </td>
215
 
          <td class="md" valign="top">(&nbsp;</td>
216
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
217
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
218
 
        </tr>
219
 
        <tr>
220
 
          <td></td>
221
 
          <td></td>
222
 
          <td class="md" nowrap>const char *&nbsp;</td>
223
 
          <td class="mdname" nowrap> <em>displayName</em>, </td>
224
 
        </tr>
225
 
        <tr>
226
 
          <td></td>
227
 
          <td></td>
228
 
          <td class="md" nowrap>unsigned int&nbsp;</td>
229
 
          <td class="mdname" nowrap> <em>mask</em>, </td>
230
 
        </tr>
231
 
        <tr>
232
 
          <td></td>
233
 
          <td></td>
234
 
          <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
235
 
          <td class="mdname" nowrap> <em>attr</em>, </td>
236
 
        </tr>
237
 
        <tr>
238
 
          <td></td>
239
 
          <td></td>
240
 
          <td class="md" nowrap>int *&nbsp;</td>
241
 
          <td class="mdname" nowrap> <em>screen</em></td>
242
 
        </tr>
243
 
        <tr>
244
 
          <td></td>
245
 
          <td class="md">)&nbsp;</td>
246
 
          <td class="md" colspan="2"></td>
247
 
        </tr>
248
 
 
249
 
      </table>
250
 
    </td>
251
 
  </tr>
252
 
</table>
253
 
<table cellspacing=5 cellpadding=0 border=0>
254
 
  <tr>
255
 
    <td>
256
 
      &nbsp;
257
 
    </td>
258
 
    <td>
259
 
 
260
 
<p>
261
 
Add a screen.     </td>
262
 
  </tr>
263
 
</table>
264
 
<a class="anchor" name="a27" doxytag="lib/dmx/dmx.c::DMXChangeDesktopAttributes" ></a><p>
265
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
266
 
  <tr>
267
 
    <td class="mdRow">
268
 
      <table cellpadding="0" cellspacing="0" border="0">
269
 
        <tr>
270
 
          <td class="md" nowrap valign="top"> int DMXChangeDesktopAttributes </td>
271
 
          <td class="md" valign="top">(&nbsp;</td>
272
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
273
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
274
 
        </tr>
275
 
        <tr>
276
 
          <td></td>
277
 
          <td></td>
278
 
          <td class="md" nowrap>unsigned int&nbsp;</td>
279
 
          <td class="mdname" nowrap> <em>mask</em>, </td>
280
 
        </tr>
281
 
        <tr>
282
 
          <td></td>
283
 
          <td></td>
284
 
          <td class="md" nowrap><a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *&nbsp;</td>
285
 
          <td class="mdname" nowrap> <em>attr</em></td>
286
 
        </tr>
287
 
        <tr>
288
 
          <td></td>
289
 
          <td class="md">)&nbsp;</td>
290
 
          <td class="md" colspan="2"></td>
291
 
        </tr>
292
 
 
293
 
      </table>
294
 
    </td>
295
 
  </tr>
296
 
</table>
297
 
<table cellspacing=5 cellpadding=0 border=0>
298
 
  <tr>
299
 
    <td>
300
 
      &nbsp;
301
 
    </td>
302
 
    <td>
303
 
 
304
 
<p>
305
 
Change the global bounding box and origin offset.<p>
306
 
Available in DMX Protocol Version 2.0     </td>
307
 
  </tr>
308
 
</table>
309
 
<a class="anchor" name="a20" doxytag="lib/dmx/dmx.c::DMXChangeScreensAttributes" ></a><p>
310
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
311
 
  <tr>
312
 
    <td class="mdRow">
313
 
      <table cellpadding="0" cellspacing="0" border="0">
314
 
        <tr>
315
 
          <td class="md" nowrap valign="top"> int DMXChangeScreensAttributes </td>
316
 
          <td class="md" valign="top">(&nbsp;</td>
317
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
318
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
319
 
        </tr>
320
 
        <tr>
321
 
          <td></td>
322
 
          <td></td>
323
 
          <td class="md" nowrap>int&nbsp;</td>
324
 
          <td class="mdname" nowrap> <em>screen_count</em>, </td>
325
 
        </tr>
326
 
        <tr>
327
 
          <td></td>
328
 
          <td></td>
329
 
          <td class="md" nowrap>int *&nbsp;</td>
330
 
          <td class="mdname" nowrap> <em>screens</em>, </td>
331
 
        </tr>
332
 
        <tr>
333
 
          <td></td>
334
 
          <td></td>
335
 
          <td class="md" nowrap>int&nbsp;</td>
336
 
          <td class="mdname" nowrap> <em>mask_count</em>, </td>
337
 
        </tr>
338
 
        <tr>
339
 
          <td></td>
340
 
          <td></td>
341
 
          <td class="md" nowrap>unsigned int *&nbsp;</td>
342
 
          <td class="mdname" nowrap> <em>masks</em>, </td>
343
 
        </tr>
344
 
        <tr>
345
 
          <td></td>
346
 
          <td></td>
347
 
          <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
348
 
          <td class="mdname" nowrap> <em>attrs</em>, </td>
349
 
        </tr>
350
 
        <tr>
351
 
          <td></td>
352
 
          <td></td>
353
 
          <td class="md" nowrap>int *&nbsp;</td>
354
 
          <td class="mdname" nowrap> <em>error_screen</em></td>
355
 
        </tr>
356
 
        <tr>
357
 
          <td></td>
358
 
          <td class="md">)&nbsp;</td>
359
 
          <td class="md" colspan="2"></td>
360
 
        </tr>
361
 
 
362
 
      </table>
363
 
    </td>
364
 
  </tr>
365
 
</table>
366
 
<table cellspacing=5 cellpadding=0 border=0>
367
 
  <tr>
368
 
    <td>
369
 
      &nbsp;
370
 
    </td>
371
 
    <td>
372
 
 
373
 
<p>
374
 
Change geometries and positions of the DMX screen and root windows on the back-end X server.     </td>
375
 
  </tr>
376
 
</table>
377
 
<a class="anchor" name="a13" doxytag="lib/dmx/dmx.c::DMXForceWindowCreation" ></a><p>
378
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
379
 
  <tr>
380
 
    <td class="mdRow">
381
 
      <table cellpadding="0" cellspacing="0" border="0">
382
 
        <tr>
383
 
          <td class="md" nowrap valign="top"> Bool DMXForceWindowCreation </td>
384
 
          <td class="md" valign="top">(&nbsp;</td>
385
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
386
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
387
 
        </tr>
388
 
        <tr>
389
 
          <td></td>
390
 
          <td></td>
391
 
          <td class="md" nowrap>Window&nbsp;</td>
392
 
          <td class="mdname" nowrap> <em>window</em></td>
393
 
        </tr>
394
 
        <tr>
395
 
          <td></td>
396
 
          <td class="md">)&nbsp;</td>
397
 
          <td class="md" colspan="2"></td>
398
 
        </tr>
399
 
 
400
 
      </table>
401
 
    </td>
402
 
  </tr>
403
 
</table>
404
 
<table cellspacing=5 cellpadding=0 border=0>
405
 
  <tr>
406
 
    <td>
407
 
      &nbsp;
408
 
    </td>
409
 
    <td>
410
 
 
411
 
<p>
412
 
The creation of the specified <em>window</em> will be forced.<p>
413
 
Available in DMX Protocol Version 1.2 Reply added in DMX Protocol Version 2.0     </td>
414
 
  </tr>
415
 
</table>
416
 
<a class="anchor" name="a24" doxytag="lib/dmx/dmx.c::DMXGetDesktopAttributes" ></a><p>
417
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
418
 
  <tr>
419
 
    <td class="mdRow">
420
 
      <table cellpadding="0" cellspacing="0" border="0">
421
 
        <tr>
422
 
          <td class="md" nowrap valign="top"> Bool DMXGetDesktopAttributes </td>
423
 
          <td class="md" valign="top">(&nbsp;</td>
424
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
425
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
426
 
        </tr>
427
 
        <tr>
428
 
          <td></td>
429
 
          <td></td>
430
 
          <td class="md" nowrap><a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *&nbsp;</td>
431
 
          <td class="mdname" nowrap> <em>attr</em></td>
432
 
        </tr>
433
 
        <tr>
434
 
          <td></td>
435
 
          <td class="md">)&nbsp;</td>
436
 
          <td class="md" colspan="2"></td>
437
 
        </tr>
438
 
 
439
 
      </table>
440
 
    </td>
441
 
  </tr>
442
 
</table>
443
 
<table cellspacing=5 cellpadding=0 border=0>
444
 
  <tr>
445
 
    <td>
446
 
      &nbsp;
447
 
    </td>
448
 
    <td>
449
 
 
450
 
<p>
451
 
If the DMXGetDesktopAttributes protocol request returns information correctly, the information will be placed in <em>attr</em>, and True will be returned. Otherwise, False will be returned.<p>
452
 
Available in DMX Protocol Version 2.0     </td>
453
 
  </tr>
454
 
</table>
455
 
<a class="anchor" name="a29" doxytag="lib/dmx/dmx.c::DMXGetInputAttributes" ></a><p>
456
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
457
 
  <tr>
458
 
    <td class="mdRow">
459
 
      <table cellpadding="0" cellspacing="0" border="0">
460
 
        <tr>
461
 
          <td class="md" nowrap valign="top"> Bool DMXGetInputAttributes </td>
462
 
          <td class="md" valign="top">(&nbsp;</td>
463
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
464
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
465
 
        </tr>
466
 
        <tr>
467
 
          <td></td>
468
 
          <td></td>
469
 
          <td class="md" nowrap>int&nbsp;</td>
470
 
          <td class="mdname" nowrap> <em>id</em>, </td>
471
 
        </tr>
472
 
        <tr>
473
 
          <td></td>
474
 
          <td></td>
475
 
          <td class="md" nowrap><a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *&nbsp;</td>
476
 
          <td class="mdname" nowrap> <em>inf</em></td>
477
 
        </tr>
478
 
        <tr>
479
 
          <td></td>
480
 
          <td class="md">)&nbsp;</td>
481
 
          <td class="md" colspan="2"></td>
482
 
        </tr>
483
 
 
484
 
      </table>
485
 
    </td>
486
 
  </tr>
487
 
</table>
488
 
<table cellspacing=5 cellpadding=0 border=0>
489
 
  <tr>
490
 
    <td>
491
 
      &nbsp;
492
 
    </td>
493
 
    <td>
494
 
 
495
 
<p>
496
 
If the DMXGetInputAttributes protocol request returns information about the input device with the specified <em>id</em>, information about the input device will be placed in <em>inf</em>, and True will be returned. Otherwise, False will be returned.<p>
497
 
Available in DMX Protocol Version 1.1     </td>
498
 
  </tr>
499
 
</table>
500
 
<a class="anchor" name="a28" doxytag="lib/dmx/dmx.c::DMXGetInputCount" ></a><p>
501
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
502
 
  <tr>
503
 
    <td class="mdRow">
504
 
      <table cellpadding="0" cellspacing="0" border="0">
505
 
        <tr>
506
 
          <td class="md" nowrap valign="top"> Bool DMXGetInputCount </td>
507
 
          <td class="md" valign="top">(&nbsp;</td>
508
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
509
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
510
 
        </tr>
511
 
        <tr>
512
 
          <td></td>
513
 
          <td></td>
514
 
          <td class="md" nowrap>int *&nbsp;</td>
515
 
          <td class="mdname" nowrap> <em>input_count</em></td>
516
 
        </tr>
517
 
        <tr>
518
 
          <td></td>
519
 
          <td class="md">)&nbsp;</td>
520
 
          <td class="md" colspan="2"></td>
521
 
        </tr>
522
 
 
523
 
      </table>
524
 
    </td>
525
 
  </tr>
526
 
</table>
527
 
<table cellspacing=5 cellpadding=0 border=0>
528
 
  <tr>
529
 
    <td>
530
 
      &nbsp;
531
 
    </td>
532
 
    <td>
533
 
 
534
 
<p>
535
 
If the DMXGetInputCount protocol request returns the input count, the value will be placed in <em>input_count</em>, and True will be returned. Otherwise, False will be returned.<p>
536
 
Available in DMX Protocol Version 1.1     </td>
537
 
  </tr>
538
 
</table>
539
 
<a class="anchor" name="a15" doxytag="lib/dmx/dmx.c::DMXGetScreenAttributes" ></a><p>
540
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
541
 
  <tr>
542
 
    <td class="mdRow">
543
 
      <table cellpadding="0" cellspacing="0" border="0">
544
 
        <tr>
545
 
          <td class="md" nowrap valign="top"> Bool DMXGetScreenAttributes </td>
546
 
          <td class="md" valign="top">(&nbsp;</td>
547
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
548
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
549
 
        </tr>
550
 
        <tr>
551
 
          <td></td>
552
 
          <td></td>
553
 
          <td class="md" nowrap>int&nbsp;</td>
554
 
          <td class="mdname" nowrap> <em>physical_screen</em>, </td>
555
 
        </tr>
556
 
        <tr>
557
 
          <td></td>
558
 
          <td></td>
559
 
          <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
560
 
          <td class="mdname" nowrap> <em>attr</em></td>
561
 
        </tr>
562
 
        <tr>
563
 
          <td></td>
564
 
          <td class="md">)&nbsp;</td>
565
 
          <td class="md" colspan="2"></td>
566
 
        </tr>
567
 
 
568
 
      </table>
569
 
    </td>
570
 
  </tr>
571
 
</table>
572
 
<table cellspacing=5 cellpadding=0 border=0>
573
 
  <tr>
574
 
    <td>
575
 
      &nbsp;
576
 
    </td>
577
 
    <td>
578
 
 
579
 
<p>
580
 
If the DMXGetScreenAttributes protocol request returns information for the specified <em>physical_screen</em>, information about the screen will be placed in <em>attr</em>, and True will be returned. Otherwise, False will be returned.<p>
581
 
Available in DMX Protocol Version 1.0; Modified in Version 2.0     </td>
582
 
  </tr>
583
 
</table>
584
 
<a class="anchor" name="a14" doxytag="lib/dmx/dmx.c::DMXGetScreenCount" ></a><p>
585
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
586
 
  <tr>
587
 
    <td class="mdRow">
588
 
      <table cellpadding="0" cellspacing="0" border="0">
589
 
        <tr>
590
 
          <td class="md" nowrap valign="top"> Bool DMXGetScreenCount </td>
591
 
          <td class="md" valign="top">(&nbsp;</td>
592
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
593
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
594
 
        </tr>
595
 
        <tr>
596
 
          <td></td>
597
 
          <td></td>
598
 
          <td class="md" nowrap>int *&nbsp;</td>
599
 
          <td class="mdname" nowrap> <em>screen_count</em></td>
600
 
        </tr>
601
 
        <tr>
602
 
          <td></td>
603
 
          <td class="md">)&nbsp;</td>
604
 
          <td class="md" colspan="2"></td>
605
 
        </tr>
606
 
 
607
 
      </table>
608
 
    </td>
609
 
  </tr>
610
 
</table>
611
 
<table cellspacing=5 cellpadding=0 border=0>
612
 
  <tr>
613
 
    <td>
614
 
      &nbsp;
615
 
    </td>
616
 
    <td>
617
 
 
618
 
<p>
619
 
If the DMXGetScreenCount protocol request returns the screen count, the value will be placed in <em>screen_count</em>, and True will be returned. Otherwise, False will be returned.<p>
620
 
Available in DMX Protocol Version 1.0     </td>
621
 
  </tr>
622
 
</table>
623
 
<a class="anchor" name="a23" doxytag="lib/dmx/dmx.c::DMXGetWindowAttributes" ></a><p>
624
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
625
 
  <tr>
626
 
    <td class="mdRow">
627
 
      <table cellpadding="0" cellspacing="0" border="0">
628
 
        <tr>
629
 
          <td class="md" nowrap valign="top"> Bool DMXGetWindowAttributes </td>
630
 
          <td class="md" valign="top">(&nbsp;</td>
631
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
632
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
633
 
        </tr>
634
 
        <tr>
635
 
          <td></td>
636
 
          <td></td>
637
 
          <td class="md" nowrap>Window&nbsp;</td>
638
 
          <td class="mdname" nowrap> <em>window</em>, </td>
639
 
        </tr>
640
 
        <tr>
641
 
          <td></td>
642
 
          <td></td>
643
 
          <td class="md" nowrap>int *&nbsp;</td>
644
 
          <td class="mdname" nowrap> <em>screen_count</em>, </td>
645
 
        </tr>
646
 
        <tr>
647
 
          <td></td>
648
 
          <td></td>
649
 
          <td class="md" nowrap>int&nbsp;</td>
650
 
          <td class="mdname" nowrap> <em>available_count</em>, </td>
651
 
        </tr>
652
 
        <tr>
653
 
          <td></td>
654
 
          <td></td>
655
 
          <td class="md" nowrap><a class="el" href="structDMXWindowAttributes.html">DMXWindowAttributes</a> *&nbsp;</td>
656
 
          <td class="mdname" nowrap> <em>inf</em></td>
657
 
        </tr>
658
 
        <tr>
659
 
          <td></td>
660
 
          <td class="md">)&nbsp;</td>
661
 
          <td class="md" colspan="2"></td>
662
 
        </tr>
663
 
 
664
 
      </table>
665
 
    </td>
666
 
  </tr>
667
 
</table>
668
 
<table cellspacing=5 cellpadding=0 border=0>
669
 
  <tr>
670
 
    <td>
671
 
      &nbsp;
672
 
    </td>
673
 
    <td>
674
 
 
675
 
<p>
676
 
If the DMXGetWindowAttributes protocol request returns information about the specified <em>window</em>, the number of screens for which information is available will be returned in <em>screen_count</em> and information about the first <em>available_count</em> of those screens will be placed in <em>inf</em>. Because this call transports a great deal of information over the wire, please call <a class="el" href="lib_2dmx_2dmx_8c.html#a14">DMXGetScreenCount</a> first, and make sure <em>inf</em> is that large.<p>
677
 
Note that if the specified <em>window</em> has not yet been mapped when <a class="el" href="lib_2dmx_2dmx_8c.html#a23">DMXGetWindowAttributes</a> is called, then a subsequent XMapWindow call might be buffered in xlib while requests directly to the back-end X servers are processed. This race condition can be solved by calling <a class="el" href="lib_2dmx_2dmx_8c.html#a12">DMXSync</a> before talking directly to the back-end X servers.<p>
678
 
Available in DMX Protocol Version 1.0, but not working correctly until DMX Protocol Version 1.4     </td>
679
 
  </tr>
680
 
</table>
681
 
<a class="anchor" name="a10" doxytag="lib/dmx/dmx.c::DMXQueryExtension" ></a><p>
682
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
683
 
  <tr>
684
 
    <td class="mdRow">
685
 
      <table cellpadding="0" cellspacing="0" border="0">
686
 
        <tr>
687
 
          <td class="md" nowrap valign="top"> dmx_extension_info Bool DMXQueryExtension </td>
688
 
          <td class="md" valign="top">(&nbsp;</td>
689
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
690
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
691
 
        </tr>
692
 
        <tr>
693
 
          <td></td>
694
 
          <td></td>
695
 
          <td class="md" nowrap>int *&nbsp;</td>
696
 
          <td class="mdname" nowrap> <em>event_basep</em>, </td>
697
 
        </tr>
698
 
        <tr>
699
 
          <td></td>
700
 
          <td></td>
701
 
          <td class="md" nowrap>int *&nbsp;</td>
702
 
          <td class="mdname" nowrap> <em>error_basep</em></td>
703
 
        </tr>
704
 
        <tr>
705
 
          <td></td>
706
 
          <td class="md">)&nbsp;</td>
707
 
          <td class="md" colspan="2"></td>
708
 
        </tr>
709
 
 
710
 
      </table>
711
 
    </td>
712
 
  </tr>
713
 
</table>
714
 
<table cellspacing=5 cellpadding=0 border=0>
715
 
  <tr>
716
 
    <td>
717
 
      &nbsp;
718
 
    </td>
719
 
    <td>
720
 
 
721
 
<p>
722
 
If the server has the DMX extension, the event and error bases will be placed in <em>event_basep</em> and <em>error_basep</em>, and True will be returned. Otherwise, False will be returned.<p>
723
 
Available in DMX Protocol Version 1.0     </td>
724
 
  </tr>
725
 
</table>
726
 
<a class="anchor" name="a11" doxytag="lib/dmx/dmx.c::DMXQueryVersion" ></a><p>
727
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
728
 
  <tr>
729
 
    <td class="mdRow">
730
 
      <table cellpadding="0" cellspacing="0" border="0">
731
 
        <tr>
732
 
          <td class="md" nowrap valign="top"> Bool DMXQueryVersion </td>
733
 
          <td class="md" valign="top">(&nbsp;</td>
734
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
735
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
736
 
        </tr>
737
 
        <tr>
738
 
          <td></td>
739
 
          <td></td>
740
 
          <td class="md" nowrap>int *&nbsp;</td>
741
 
          <td class="mdname" nowrap> <em>majorVersion</em>, </td>
742
 
        </tr>
743
 
        <tr>
744
 
          <td></td>
745
 
          <td></td>
746
 
          <td class="md" nowrap>int *&nbsp;</td>
747
 
          <td class="mdname" nowrap> <em>minorVersion</em>, </td>
748
 
        </tr>
749
 
        <tr>
750
 
          <td></td>
751
 
          <td></td>
752
 
          <td class="md" nowrap>int *&nbsp;</td>
753
 
          <td class="mdname" nowrap> <em>patchVersion</em></td>
754
 
        </tr>
755
 
        <tr>
756
 
          <td></td>
757
 
          <td class="md">)&nbsp;</td>
758
 
          <td class="md" colspan="2"></td>
759
 
        </tr>
760
 
 
761
 
      </table>
762
 
    </td>
763
 
  </tr>
764
 
</table>
765
 
<table cellspacing=5 cellpadding=0 border=0>
766
 
  <tr>
767
 
    <td>
768
 
      &nbsp;
769
 
    </td>
770
 
    <td>
771
 
 
772
 
<p>
773
 
If the DMXQueryVersion protocol request returns version information from the server, <em>majorVersion</em>, <em>minorVersion</em>, and <em>patchVersion</em> are filled in with the appropriate information and True is returned. Otherwise, False will be returned.<p>
774
 
Available in DMX Protocol Version 1.0     </td>
775
 
  </tr>
776
 
</table>
777
 
<a class="anchor" name="a33" doxytag="lib/dmx/dmx.c::DMXRemoveInput" ></a><p>
778
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
779
 
  <tr>
780
 
    <td class="mdRow">
781
 
      <table cellpadding="0" cellspacing="0" border="0">
782
 
        <tr>
783
 
          <td class="md" nowrap valign="top"> Bool DMXRemoveInput </td>
784
 
          <td class="md" valign="top">(&nbsp;</td>
785
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
786
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
787
 
        </tr>
788
 
        <tr>
789
 
          <td></td>
790
 
          <td></td>
791
 
          <td class="md" nowrap>int&nbsp;</td>
792
 
          <td class="mdname" nowrap> <em>id</em></td>
793
 
        </tr>
794
 
        <tr>
795
 
          <td></td>
796
 
          <td class="md">)&nbsp;</td>
797
 
          <td class="md" colspan="2"></td>
798
 
        </tr>
799
 
 
800
 
      </table>
801
 
    </td>
802
 
  </tr>
803
 
</table>
804
 
<table cellspacing=5 cellpadding=0 border=0>
805
 
  <tr>
806
 
    <td>
807
 
      &nbsp;
808
 
    </td>
809
 
    <td>
810
 
 
811
 
<p>
812
 
Remove an input.     </td>
813
 
  </tr>
814
 
</table>
815
 
<a class="anchor" name="a22" doxytag="lib/dmx/dmx.c::DMXRemoveScreen" ></a><p>
816
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
817
 
  <tr>
818
 
    <td class="mdRow">
819
 
      <table cellpadding="0" cellspacing="0" border="0">
820
 
        <tr>
821
 
          <td class="md" nowrap valign="top"> Bool DMXRemoveScreen </td>
822
 
          <td class="md" valign="top">(&nbsp;</td>
823
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
824
 
          <td class="mdname" nowrap> <em>dpy</em>, </td>
825
 
        </tr>
826
 
        <tr>
827
 
          <td></td>
828
 
          <td></td>
829
 
          <td class="md" nowrap>int&nbsp;</td>
830
 
          <td class="mdname" nowrap> <em>screen</em></td>
831
 
        </tr>
832
 
        <tr>
833
 
          <td></td>
834
 
          <td class="md">)&nbsp;</td>
835
 
          <td class="md" colspan="2"></td>
836
 
        </tr>
837
 
 
838
 
      </table>
839
 
    </td>
840
 
  </tr>
841
 
</table>
842
 
<table cellspacing=5 cellpadding=0 border=0>
843
 
  <tr>
844
 
    <td>
845
 
      &nbsp;
846
 
    </td>
847
 
    <td>
848
 
 
849
 
<p>
850
 
Remove a screen.     </td>
851
 
  </tr>
852
 
</table>
853
 
<a class="anchor" name="a12" doxytag="lib/dmx/dmx.c::DMXSync" ></a><p>
854
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
855
 
  <tr>
856
 
    <td class="mdRow">
857
 
      <table cellpadding="0" cellspacing="0" border="0">
858
 
        <tr>
859
 
          <td class="md" nowrap valign="top"> Bool DMXSync </td>
860
 
          <td class="md" valign="top">(&nbsp;</td>
861
 
          <td class="md" nowrap valign="top">Display *&nbsp;</td>
862
 
          <td class="mdname1" valign="top" nowrap> <em>dpy</em>          </td>
863
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
864
 
          <td class="md" nowrap></td>
865
 
        </tr>
866
 
 
867
 
      </table>
868
 
    </td>
869
 
  </tr>
870
 
</table>
871
 
<table cellspacing=5 cellpadding=0 border=0>
872
 
  <tr>
873
 
    <td>
874
 
      &nbsp;
875
 
    </td>
876
 
    <td>
877
 
 
878
 
<p>
879
 
Flush all pending dmxSync requests in DMX server.<p>
880
 
Available in DMX Protocol Version 1.5     </td>
881
 
  </tr>
882
 
</table>
883
 
    <hr>
884
 
    <address>
885
 
      <small>
886
 
        Generated June 29, 2004 for <a
887
 
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
888
 
        <a href="http://www.doxygen.org/index.html">doxygen</a>
889
 
        1.3.4.
890
 
      </small>
891
 
    </addres>
892
 
    </hr>
893
 
  </body>
894
 
</html>