[PATCH: libXtst 7/17] Add id attributes to funcsynopsis to allow other docs to olink to them.

Matt Dew marcoz at osource.org
Wed Jun 1 19:34:45 PDT 2011


---
 specs/recordlib.xml |   28 ++++++++++++++--------------
 specs/xtestlib.xml  |   22 +++++++++++-----------
 2 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/specs/recordlib.xml b/specs/recordlib.xml
index d44fa6e..61ceca2 100644
--- a/specs/recordlib.xml
+++ b/specs/recordlib.xml
@@ -533,7 +533,7 @@ function to determine
 the version of the Record extension protocol supported by an X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordqueryversion'>
 <funcprototype>
   <funcdef>Status <function>XRecordQueryVersion</function></funcdef>
     <paramdef>Display <parameter> *display</parameter></paramdef>
@@ -579,7 +579,7 @@ created by the recording client, the clients to be recorded and the
 protocol to record for each client may be specified.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordcreatecontext'>
 <funcprototype>
   <funcdef>XRecordContext <function>XRecordCreateContext</function></funcdef>
     <paramdef>Display <parameter> *display</parameter></paramdef>
@@ -690,7 +690,7 @@ record context, by adding clients or modifying the recorded protocol,
 typically over its control connection to the X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordregisterclients'>
 <funcprototype>
   <funcdef>Status <function>XRecordRegisterClients</function></funcdef>
     <paramdef>Display <parameter> *display</parameter></paramdef>
@@ -782,7 +782,7 @@ function to delete clients from a previously created
 record context, typically over its control connection to the X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordunregisterclients'>
 <funcprototype>
   <funcdef>Status <function>XRecordUnRegisterClients</function></funcdef>
     <paramdef>Display <parameter> *display</parameter></paramdef>
@@ -868,7 +868,7 @@ function to query the current state of a record context, typically over
 its control connection to the X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordgetcontext'>
 <funcprototype>
   <funcdef>Status <function>XRecordGetContext</function></funcdef>
     <paramdef>Display <parameter> *display</parameter></paramdef>
@@ -962,7 +962,7 @@ function to free the state data returned by
 <function>XRecordGetContext</function>
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordfreestate'>
 <funcprototype>
   <funcdef>void <function>XRecordFreeState</function></funcdef>
     <paramdef>XRecordState <parameter> *state</parameter></paramdef>
@@ -1151,7 +1151,7 @@ in the same reply packet.  When a reply is received, a procedure of type
 is called for each protocol element in the reply.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordinterceptproc'>
 <funcprototype>
   <funcdef>typedef void <function>(*XRecordInterceptProc)</function></funcdef>
     <paramdef>XPointer<parameter> closure</parameter></paramdef>
@@ -1183,7 +1183,7 @@ function to free the
 structure.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordenablecontext'>
 <funcprototype>
   <funcdef>Status <function>XRecordEnableContext</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -1252,7 +1252,7 @@ enables data transfer; however, it does not block.
 This interface is defined as follows:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordenablecontextasync'>
 <funcprototype>
   <funcdef>Status <function>XRecordEnableContextAsync</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -1318,7 +1318,7 @@ for Record data with the
 function.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordprocessreplies'>
 <funcprototype>
   <funcdef>void <function>XRecordProcessReplies</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -1347,7 +1347,7 @@ available replies have been processed.  It does not block.
 callback, use
 <function>XRecordFreeData</function></para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordfreedata'>
 <funcprototype>
   <funcdef>void <function>XRecordFreeData</function></funcdef>
     <paramdef>XRecordInterceptData<parameter> *data</parameter></paramdef>
@@ -1384,7 +1384,7 @@ program executes
 typically over its control connection to the X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecorddisablecontext'>
 <funcprototype>
   <funcdef>Status <function>XRecordDisableContext</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -1433,7 +1433,7 @@ error results.
 To determine the mask the server uses for the client ID base, use
 <function>XRecordIdBaseMask</function></para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordidbasemask'>
 <funcprototype>
   <funcdef>XID <function>XRecordIdBaseMask</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -1467,7 +1467,7 @@ function, typically over the record client's control connection
 to the X server.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xrecordfreecontext'>
 <funcprototype>
   <funcdef>Status <function>XRecordFreeContext</function></funcdef>
     <paramdef>Display<parameter> *display</parameter></paramdef>
diff --git a/specs/xtestlib.xml b/specs/xtestlib.xml
index 60e5acd..55597b4 100644
--- a/specs/xtestlib.xml
+++ b/specs/xtestlib.xml
@@ -197,7 +197,7 @@ The include file for this extension is
 &lt;<symbol role='Pn'>X11/extensions/XTest.h</symbol>&gt;.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestqueryextension'>
 <funcprototype>
 <funcdef>Bool<function> XTestQueryExtension</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -224,7 +224,7 @@ numbers of the extension supported by the display.  Otherwise, none of
 the arguments are set.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestcomparecursorwithwindow'>
 <funcprototype>
 <funcdef>Bool<function> XTestCompareCursorWithWindow</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -246,7 +246,7 @@ otherwise.  If the extension is not supported, then the request is ignored and
 zero is returned.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestcomparecurrentcursorwithwindow'>
 <funcprototype>
 <funcdef>Bool<function>XTestCompareCurrentCursorWithWindow</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -265,7 +265,7 @@ otherwise.  If the extension is not supported, then the request is ignored and
 zero is returned.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestfakekeyevent'>
 <funcprototype>
 <funcdef><function>XTestFakeKeyEvent</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -297,7 +297,7 @@ this client will be processed until this delay, if any, has expired
 and subsequent processing of the simulated event has been completed.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestfakebuttonevent'>
 <funcprototype>
 <funcdef><function>XTestFakeButtonEvent</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -330,7 +330,7 @@ this client will be processed until this delay, if any, has expired
 and subsequent processing of the simulated event has been completed.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestfakemotionevent'>
 <funcprototype>
 <funcdef><function>XTestFakeMotionEvent</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -358,7 +358,7 @@ this client will be processed until this delay, if any, has expired
 and subsequent processing of the simulated event has been completed.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestfakerelativemotionevent'>
 <funcprototype>
 <funcdef><function>XTestFakeRelativeMotionEvent</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -387,7 +387,7 @@ this client will be processed until this delay, if any, has expired
 and subsequent processing of the simulated event has been completed.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestgrabcontrol'>
 <funcprototype>
 <funcdef><function>XTestGrabControl</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -403,7 +403,7 @@ then the executing client returns to the normal state of being susceptible
 to server grabs.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestsetgcontextofgc'>
 <funcprototype>
 <funcdef>Bool<function> XTestSetGContextOfGC</function></funcdef>
 <paramdef>GC<parameter> gc</parameter></paramdef>
@@ -417,7 +417,7 @@ sets the GContext within the opaque datatype referenced by gc to
 be that specified by gid.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestsetvisualIdofvisual'>
 <funcprototype>
 <funcdef><function>XTestSetVisualIDOfVisual</function></funcdef>
 <paramdef>Visual<parameter> *visual</parameter></paramdef>
@@ -431,7 +431,7 @@ sets the VisualID within the opaque datatype referenced by visual to
 be that specified by visualid.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xtestdiscard'>
 <funcprototype>
 <funcdef>Bool<function> XTestDiscard</function></funcdef>
 <paramdef>Display<parameter> *display</parameter></paramdef>
-- 
1.7.1



More information about the xorg-devel mailing list