[PATCH: xextproto 2/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:40 PDT 2011


---
 specs/evi.xml      |    4 ++--
 specs/security.xml |   10 +++++-----
 specs/shm.xml      |   14 +++++++-------
 specs/tog-cup.xml  |    6 +++---
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/specs/evi.xml b/specs/evi.xml
index a565f73..12f8923 100644
--- a/specs/evi.xml
+++ b/specs/evi.xml
@@ -374,7 +374,7 @@ The include file for this extension is:
 <function>&lt; X11/extensions/XEVI.h&gt;</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xeviqueryversion'>
 <funcprototype>
   <funcdef>Bool <function> XeviQueryVersion</function></funcdef>
   <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -433,7 +433,7 @@ To get the extended information for any subset of visuals use
 XeviGetVisualInfo.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xevigetvisualinfo'>
 <funcprototype>
   <funcdef>int <function> XeviGetVisualInfo</function></funcdef>
   <paramdef>Display<parameter> *display</parameter></paramdef>
diff --git a/specs/security.xml b/specs/security.xml
index ee132f3..828ea5c 100644
--- a/specs/security.xml
+++ b/specs/security.xml
@@ -1141,7 +1141,7 @@ All functions that have return type Status will return nonzero for
 success and zero for failure.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsecurityqueryextension'>
 <funcprototype>
   <funcdef>Status <function>XSecurityQueryExtension</function></funcdef>
     <paramdef>Display <parameter> *dpy</parameter></paramdef>
@@ -1162,7 +1162,7 @@ function. If a client violates this rule, the effects of all subsequent
 XSecurity calls that it makes are undefined.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsecurityallocxauth'>
 <funcprototype>
   <funcdef>Xauth *<function>XSecurityAllocXauth</function></funcdef>
     <paramdef><parameter>void</parameter></paramdef>
@@ -1266,7 +1266,7 @@ The Xauth structure returned by this function is initialized as follows:
 name_length and data_length are zero, and name and data are NULL.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xsecurityfreexauth'>
 <funcprototype>
   <funcdef>void <function>XSecurityFreeXauth</function></funcdef>
     <paramdef>Xauth<parameter> *auth</parameter></paramdef>
@@ -1287,7 +1287,7 @@ function, including the name and data fields.
 </para>
 
 
-<funcsynopsis>
+<funcsynopsis id='xsecurityrevokeauthorization'>
 <funcprototype>
   <funcdef>Bool <function>XSecurityRevokeAuthorization</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
@@ -1304,7 +1304,7 @@ clients that attempt to connect using that authorization will be refused.
 </para>
 
 
-<funcsynopsis>
+<funcsynopsis id='xsecuritygenerateauthorization'>
 <funcprototype>
   <funcdef>Xauth *<function>XSecurityGenerateAuthorization</function></funcdef>
     <paramdef>Display<parameter> *dpy</parameter></paramdef>
diff --git a/specs/shm.xml b/specs/shm.xml
index 127412c..a389c05 100644
--- a/specs/shm.xml
+++ b/specs/shm.xml
@@ -133,7 +133,7 @@ the net, or in some other environment where the extension will not work.
 To perform this check, call either
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmqueryextension'>
 <funcprototype>
   <funcdef>Status <function>XShmQueryExtension</function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -144,7 +144,7 @@ To perform this check, call either
 or
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmqueryversion'>
 <funcprototype>
   <funcdef>Status <function>XShmQueryVersion</function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -198,7 +198,7 @@ Use the shared memory XImage, much like a normal one.
 To create a shared memory XImage, use:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmcreateimage'>
 <funcprototype>
   <funcdef>XImage <function>*XShmCreateImage</function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -313,7 +313,7 @@ ready for use.
 To write a shared memory XImage into an X drawable, use XShmPutImage:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmputimage'>
 <funcprototype>
   <funcdef>Status <function>XShmPutImage </function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -376,7 +376,7 @@ completion event, the results you see on the screen may be inconsistent.
 To read image data into a shared memory XImage, use the following:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmgetimage'>
 <funcprototype>
   <funcdef>Status <function>XShmGetImage </function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -419,7 +419,7 @@ format is) and independent of the screen.  Use XShmPixmapFormat to get the
 format for the server:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmpixmapformat'>
 <funcprototype>
   <funcdef>int <function>XShmPixmapFormat</function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
@@ -439,7 +439,7 @@ bytes_per_line value to use.
 Once you have your shminfo structure filled in, simply call:
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xshmcreatepixmap'>
 <funcprototype>
   <funcdef>Pixmap <function>XShmCreatePixmap</function></funcdef>
     <paramdef>Display <parameter>*display</parameter></paramdef>
diff --git a/specs/tog-cup.xml b/specs/tog-cup.xml
index bb6fb25..4107ddc 100644
--- a/specs/tog-cup.xml
+++ b/specs/tog-cup.xml
@@ -354,7 +354,7 @@ The include file for this extension is
 <function>&lt;X11/extensions/Xcup.h&gt;</function>.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xcupqueryversion'>
 <funcprototype>
   <funcdef>Status <function> XCupQueryVersion</function></funcdef>
   <paramdef>Display*<parameter> display</parameter></paramdef>
@@ -414,7 +414,7 @@ To get the list of reserved colormap entries, use
 XCupGetReservedColormapEntries.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xcupgetreservedcolormapentries'>
 <funcprototype>
   <funcdef>Status <function> XCupGetReservedColormapEntries</function></funcdef>
   <paramdef>Display*<parameter> display</parameter></paramdef>
@@ -468,7 +468,7 @@ To allocate one or more read-only color cells with RGB values, use
 XCupStoreColors.
 </para>
 
-<funcsynopsis>
+<funcsynopsis id='xcupstorecolors'>
 <funcprototype>
   <funcdef>Status <function> XCupStoreColors</function></funcdef>
   <paramdef>Display*<parameter> display</parameter></paramdef>
-- 
1.7.1



More information about the xorg-devel mailing list