1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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">
9
<!-- Generated by Doxygen 1.7.1 -->
10
<div class="navigation" id="top">
13
<li><a href="main.html"><span>Main Page</span></a></li>
14
<li><a href="annotated.html"><span>Data Structures</span></a></li>
15
<li class="current"><a href="files.html"><span>Files</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
21
<li><a href="globals.html"><span>Globals</span></a></li>
27
<a href="#func-members">Functions</a> </div>
28
<div class="headertitle">
29
<h1>dmxprop.h File Reference</h1> </div>
31
<div class="contents">
33
<p><a href="dmxprop_8h_source.html">Go to the source code of this file.</a></p>
34
<table class="memberdecls">
35
<tr><td colspan="2"><h2><a name="func-members"></a>
36
Functions</h2></td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#a97a10defd6ace86dae6cf8c8765bf0de">dmxPropertyDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#aa97527eeaaf0744a67a5c5d188daf8c2">dmxPropertyWindow</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#a4c53640b27c787d65539555cc3bf3c57">dmxPropertyIterate</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *start, void *(*f)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *closure), void *closure)</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8h.html#ad0a551002589f00b2bac2b081283bc83">dmxPropertySameDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *name)</td></tr>
42
<hr/><a name="_details"></a><h2>Detailed Description</h2>
43
<p>Interface for property support. </p>
44
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxprop_8c.html">dmxprop.c</a> </dd></dl>
45
<hr/><h2>Function Documentation</h2>
46
<a class="anchor" id="a97a10defd6ace86dae6cf8c8765bf0de"></a><!-- doxytag: member="dmxprop.h::dmxPropertyDisplay" ref="a97a10defd6ace86dae6cf8c8765bf0de" args="(DMXScreenInfo *dmxScreen)" -->
48
<div class="memproto">
49
<table class="memname">
51
<td class="memname">int dmxPropertyDisplay </td>
53
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
54
<td class="paramname"> <em>dmxScreen</em></td>
55
<td> ) </td>
61
<p>Returns 0 if this is the only Xdmx session on the display; 1 otherwise. </p>
63
<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxprop_8c.html#ab3eb5317487025c8ba44312f16d675f7">dmxPropertyCheckOtherServers()</a>, <a class="el" href="dmxprop_8c.html#a5393154b62783c7ff9cb657acbf73cca">dmxPropertyIdentifier()</a>, and <a class="el" href="struct__DMXScreenInfo.html#a1c960b58b8bb306b5fe14edc8d8c2b8d">_DMXScreenInfo::shared</a>.</p>
65
<p>Referenced by <a class="el" href="dmxinit_8h.html#abe5a8715282907a3ffd7b992c8dd3661">dmxOpenDisplay()</a>.</p>
69
<a class="anchor" id="a4c53640b27c787d65539555cc3bf3c57"></a><!-- doxytag: member="dmxprop.h::dmxPropertyIterate" ref="a4c53640b27c787d65539555cc3bf3c57" args="(DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *closure), void *closure)" -->
71
<div class="memproto">
72
<table class="memname">
74
<td class="memname">void* dmxPropertyIterate </td>
76
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
77
<td class="paramname"> <em>start</em>, </td>
80
<td class="paramkey"></td>
82
<td class="paramtype">void *(*)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *closure) </td>
83
<td class="paramname"> <em>f</em>, </td>
86
<td class="paramkey"></td>
88
<td class="paramtype">void * </td>
89
<td class="paramname"> <em>closure</em></td><td> </td>
94
<td></td><td></td><td></td>
102
<a class="anchor" id="ad0a551002589f00b2bac2b081283bc83"></a><!-- doxytag: member="dmxprop.h::dmxPropertySameDisplay" ref="ad0a551002589f00b2bac2b081283bc83" args="(DMXScreenInfo *dmxScreen, const char *name)" -->
103
<div class="memitem">
104
<div class="memproto">
105
<table class="memname">
107
<td class="memname">int dmxPropertySameDisplay </td>
109
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
110
<td class="paramname"> <em>dmxScreen</em>, </td>
113
<td class="paramkey"></td>
115
<td class="paramtype">const char * </td>
116
<td class="paramname"> <em>name</em></td><td> </td>
121
<td></td><td></td><td></td>
126
<p>Returns 1 if the dmxScreen and the display in <em>name</em> are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs). </p>
128
<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fa55e322963608341d32ebb8a0b9d936fe">dmxDebug</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>, and <a class="el" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">_DMXScreenInfo::name</a>.</p>
130
<p>Referenced by <a class="el" href="dmxbackend_8c.html#a69990fbd029b2aff929c909fab8a9125">dmxBackendInitPrivate()</a>, and <a class="el" href="dmxinputinit_8c.html#a5845f0dbf305a8a233d3747489745faa">dmxInputInit()</a>.</p>
134
<a class="anchor" id="aa97527eeaaf0744a67a5c5d188daf8c2"></a><!-- doxytag: member="dmxprop.h::dmxPropertyWindow" ref="aa97527eeaaf0744a67a5c5d188daf8c2" args="(DMXScreenInfo *dmxScreen)" -->
135
<div class="memitem">
136
<div class="memproto">
137
<table class="memname">
139
<td class="memname">void dmxPropertyWindow </td>
141
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
142
<td class="paramname"> <em>dmxScreen</em></td>
143
<td> ) </td>
149
<p>Prints a log message if <em>dmxScreen</em> is on the same backend X server as some other DMX backend (output) screen. Modifies the property (<a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>) on the backend X server to reflect the creation of <em>dmxScreen</em>.</p>
150
<p>The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).</p>
151
<p>This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):</p>
152
<p>"#DMX_IDENT:<hostname running DMX>:<display name of DMX>,<screen number>" </p>
154
<p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fa55e322963608341d32ebb8a0b9d936fe">dmxDebug</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxprop_8c.html#a5e976d40a4af5d6cd99b69ead01d0dfb">dmxPropertyCheckOtherWindows()</a>, <a class="el" href="dmxprop_8c.html#a5393154b62783c7ff9cb657acbf73cca">dmxPropertyIdentifier()</a>, <a class="el" href="struct__DMXScreenInfo.html#a28849096f73f9bf14bb7e461dbb5cc94">_DMXScreenInfo::index</a>, <a class="el" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">_DMXScreenInfo::name</a>, <a class="el" href="struct__DMXScreenInfo.html#a24d4641dc02b750b88eb56ced27269d3">_DMXScreenInfo::next</a>, and <a class="el" href="struct__DMXScreenInfo.html#a78c03cd265e1c64b0d4028f0b27f99c4">_DMXScreenInfo::scrnWin</a>.</p>
156
<p>Referenced by <a class="el" href="dmxscrinit_8h.html#a51bde87df35cd264d315d09e33c4f9e3">dmxBEScreenInit()</a>.</p>
164
Generated June 29, 2004 for <a
165
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
166
<a href="http://www.doxygen.org/index.html">doxygen</a>