[PATCH: libXext 3/4 (15/17)] added id attribute to funcsynopsis to allow olinking from other documents

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


---
 specs/synclib.xml |   64 ++++++++++++++++++++++++++--------------------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/specs/synclib.xml b/specs/synclib.xml
index 36b77d8..36c7162 100644
--- a/specs/synclib.xml
+++ b/specs/synclib.xml
@@ -188,7 +188,7 @@ capitalization.
 Most of the following functions generate SYNC protocol requests.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncqueryextension'>
 <funcprototype>
   <funcdef>Status <function>XSyncQueryExtension</function></funcdef>
     <paramdef>Display <parameter> *dpy</parameter></paramdef>
@@ -205,7 +205,7 @@ sets *error_base_return to the error number for the first SYNC error. If dpy
 does not support the SYNC extension, it returns False.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncinitialize'>
 <funcprototype>
   <funcdef>Status <function>XSyncInitialize</function></funcdef>
     <paramdef>Display <parameter> *dpy</parameter></paramdef>
@@ -227,7 +227,7 @@ XSyncQueryExtension. If a client violates this rule, the effects of all XSync
 calls that it makes are undefined.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsynclistsystemcounters'>
 <funcprototype>
   <funcdef>XSyncSystemCounter *<function>XSyncListSystemCounters</function></funcdef>
     <paramdef>Display <parameter> *dpy</parameter></paramdef>
@@ -255,7 +255,7 @@ XSyncCounter        counter;     /* counter id of this system counter */
 XSyncValue          resolution;  /* resolution of this system counter */
 </literallayout>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncfreesystemcounterlist'>
 <funcprototype>
   <funcdef>void <function>XSyncFreeSystemCounterList</function></funcdef>
     <paramdef>XSyncSystemCounter <parameter> *list</parameter></paramdef>
@@ -268,7 +268,7 @@ associated with the system counter list returned by
 <function>XSyncListSystemCounters</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsynccreatecounter'>
 <funcprototype>
   <funcdef>XSyncCounter <function>XSyncCreateCounter</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -282,7 +282,7 @@ with the given initial value and returns the counter ID. It returns
 <function>None</function> if dpy does not support the SYNC extension.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncsetcounter'>
 <funcprototype>
   <funcdef>Status <function>XSyncSetCounter</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -298,7 +298,7 @@ with the given initial value and returns the counter ID. It returns
 support the SYNC extension; otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncchangecounter'>
 <funcprototype>
   <funcdef>Status <function>XSyncChangeCounter</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -313,7 +313,7 @@ support the SYNC extension; otherwise, it returns <function>True</function>.
 otherwise, it returns
 <function>True</function>.
 </para>
-<funcsynopsis>
+<funcsynopsis id='xsyncdestroycounter'>
 <funcprototype>
   <funcdef>Status <function>XSyncDestroyCounter</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -327,7 +327,7 @@ otherwise, it returns
 otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncquerycounter'>
 <funcprototype>
   <funcdef>Status <function>XSyncQueryCounter</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -343,7 +343,7 @@ error during communication with the server or if dpy does not support the
 SYNC extension; otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncawait'>
 <funcprototype>
   <funcdef>Status <function>XSyncAwait</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -385,7 +385,7 @@ XSyncValue       event_threshold;    /*send event if past threshold */
 <function>XSyncNegativeComparison</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsynccreatealarm'>
 <funcprototype>
   <funcdef>XSyncAlarm <function>XSyncCreateAlarm</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -421,7 +421,7 @@ Bool               events;              XSyncCAEvents
 XSyncAlarmState    state;               client cannot set this
 </literallayout>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncdestroyalarm'>
 <funcprototype>
   <funcdef>Status <function>XSyncDestroyAlarm</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -435,7 +435,7 @@ XSyncAlarmState    state;               client cannot set this
 the SYNC extension; otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncqueryalarm'>
 <funcprototype>
   <funcdef>Status <function>XSyncQueryAlarm</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -452,7 +452,7 @@ during communication with the server or if dpy does not support the
 SYNC extension; otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncchangealarm'>
 <funcprototype>
   <funcdef>Status <function>XSyncChangeAlarm</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -470,7 +470,7 @@ attributes to change are specified as in
 the SYNC extension; otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncsetpriority'>
 <funcprototype>
   <funcdef>Status <function>XSyncSetPriority</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -487,7 +487,7 @@ sets the caller’s priority. It returns
 otherwise, it returns <function>True</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncgetpriority'>
 <funcprototype>
   <funcdef>Status <function>XSyncGetPriority</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -516,7 +516,7 @@ macros and as functions. By default, the macro form is used. To use the
 function form, #undef the macro name to uncover the function.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncinttovalue'>
 <funcprototype>
   <funcdef>void <function>XSyncIntToValue</function></funcdef>
     <paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
@@ -529,7 +529,7 @@ Converts i to an <function>XSyncValue</function> and stores it in *pv.
 Performs sign extension (*pv will have the same sign as i.)
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncintstovalue'>
 <funcprototype>
   <funcdef>void <function>XSyncIntsToValue</function></funcdef>
     <paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
@@ -543,7 +543,7 @@ Stores low in the low 32 bits of *pv and high in the high 32 bits of *pv.
 </para>
 
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluegreaterthan'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueGreaterThan</function></funcdef>
     <paramdef>XSyncValue<parameter> a</parameter></paramdef>
@@ -556,7 +556,7 @@ Returns <function>True</function> if a is greater than b, else returns
 <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelessthan'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueLessThan</function></funcdef>
     <paramdef>XSyncValue<parameter> a</parameter></paramdef>
@@ -570,7 +570,7 @@ Returns <function>True</function> if a is less than b, else returns
 </para>
 
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluegreaterorequal'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueGreaterOrEqual</function></funcdef>
     <paramdef>XSyncValue<parameter> a</parameter></paramdef>
@@ -583,7 +583,7 @@ Returns <function>True</function> if a is greater than or equal to b,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelessorequal'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueLessOrEqual</function></funcdef>
     <paramdef>XSyncValue<parameter> a</parameter></paramdef>
@@ -596,7 +596,7 @@ Returns <function>True</function> if a is less than or equal to b,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueequal'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueEqual</function></funcdef>
     <paramdef>XSyncValue<parameter> a</parameter></paramdef>
@@ -609,7 +609,7 @@ Returns <function>True</function> if a is equal to b,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueisnegative'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueIsNegative</function></funcdef>
     <paramdef>XSyncValue<parameter> v</parameter></paramdef>
@@ -621,7 +621,7 @@ Returns <function>True</function> if v is negative,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueiszero'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueIsZero</function></funcdef>
     <paramdef>XSyncValue<parameter> v</parameter></paramdef>
@@ -633,7 +633,7 @@ Returns <function>True</function> if v is zero,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueispositive'>
 <funcprototype>
   <funcdef>Bool <function>XSyncValueIsPositive</function></funcdef>
     <paramdef>XSyncValue<parameter> v</parameter></paramdef>
@@ -645,7 +645,7 @@ Returns <function>True</function> if v is positive,
 else returns <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelow32'>
 <funcprototype>
   <funcdef>unsigned int <function>XSyncValueLow32</function></funcdef>
     <paramdef>XSyncValue<parameter> v</parameter></paramdef>
@@ -656,7 +656,7 @@ else returns <function>False</function>.
 Returns the low 32 bits of v.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluehigh32'>
 <funcprototype>
   <funcdef>unsigned int <function>XSyncValueHigh32</function></funcdef>
     <paramdef>XSyncValue<parameter> v</parameter></paramdef>
@@ -667,7 +667,7 @@ Returns the low 32 bits of v.
 Returns the high 32 bits of v.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueadd'>
 <funcprototype>
   <funcdef>void <function>XSyncValueAdd</function></funcdef>
     <paramdef>XSyncValue<parameter> *presult</parameter></paramdef>
@@ -683,7 +683,7 @@ fit in 64 bits, *poverflow is set to <function>True</function>, else it is
 set to <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluesubtract'>
 <funcprototype>
   <funcdef>void <function>XSyncValueSubtract</function></funcdef>
     <paramdef>XSyncValue<parameter> *presult</parameter></paramdef>
@@ -699,7 +699,7 @@ fit in 64 bits, *poverflow is set to <function>True</function>, else it is
 set to <function>False</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncmaxvalue'>
 <funcprototype>
   <funcdef>void <function>XSyncMaxValue</function></funcdef>
     <paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
@@ -710,7 +710,7 @@ set to <function>False</function>.
 Sets *pv to the maximum value expressible in 64 bits.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsyncminvalue'>
 <funcprototype>
   <funcdef>void <function>XSyncMinValue</function></funcdef>
     <paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
-- 
1.7.1



More information about the xorg-devel mailing list