summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-03-18 12:00:22 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-03-18 12:00:22 +0000
commit58850e6a67f59fba4a01954997cd3fe476d67698 (patch)
treebce8e12ea60a70dd53a310dbf2e0942639e59f1d
parent697693f53073b57bb30503829fb8ec1acdb9a218 (diff)
merge with XORG-RELEASE-1CYGWIN-RELEASE-1-MERGE
-rw-r--r--registry24
-rw-r--r--specs/X11/CH0927
-rw-r--r--specs/XProtocol/X11.protocol13
3 files changed, 58 insertions, 6 deletions
diff --git a/registry b/registry
index bdfb3b6..194eef0 100644
--- a/registry
+++ b/registry
@@ -1,5 +1,5 @@
/* $Xorg: registry,v 1.7 2001/06/01 18:55:58 coskrey Exp $ */
-/* $XdotOrg: xc/registry,v 1.1.4.2.6.2 2004/03/08 23:27:00 alanc Exp $ */
+/* $XdotOrg: xc/registry,v 1.1.4.2.2.1 2004/03/17 20:24:59 ago Exp $ */
X Registry
@@ -449,6 +449,7 @@ Value Name Reference
0 Internet [23]
1 DECnet [23]
2 Chaos [23]
+5 ServerInterpreted [23]
6 InternetV6 [23]
33 Amoeba [8]
252 LocalHost [105]
@@ -1027,6 +1028,21 @@ See XIM_ENCODING_NEGOTIATION in section 4.6 of the XIM standard.
"COMPOUND_TEXT" [104]
+23. SERVER INTERPRETED ADDRESS TYPES
+
+Types of addresses used in the ChangeHosts protocol request.
+See the description of ChangeHosts in section 9 of the X11 Protocol standard.
+
+Registered address types:
+
+Name Reference
+---- ---------
+"hostname" [135 - xc/doc/spec/SIAddresses/hostname.txt]
+"IPv6" [135 - xc/doc/spec/SIAddresses/IPv6.txt]
+
+Vendor-specific prefixes:
+
+None registered yet.
REFERENCES
@@ -1686,4 +1702,8 @@ REFERENCES
property type and selection target. The ICCCM spec will be updated
in a future release to fully specify UTF8_STRING.
-/* $XFree86: xc/registry,v 1.7tsi Exp $ */
+[135] X.Org Foundation source implementation
+ See Reference [8]
+
+/* $XFree86: xc/registry,v 1.8 2003/07/09 15:27:23 tsi Exp $ */
+
diff --git a/specs/X11/CH09 b/specs/X11/CH09
index 3821745..8c0bbf1 100644
--- a/specs/X11/CH09
+++ b/specs/X11/CH09
@@ -40,7 +40,7 @@
.\" of this documentation for any purpose.
.\" It is provided ``as is'' without express or implied warranty.
.\"
-.\" $XFree86: xc/doc/specs/X11/CH09,v 1.2 2003/07/09 15:27:25 tsi Exp $
+.\" $XdotOrg: xc/doc/specs/X11/CH09,v 1.1.4.1.6.2 2004/03/17 17:39:36 alanc Exp $
\&
.sp 1
.ce 3
@@ -970,6 +970,7 @@ The family member specifies which protocol address family to use
(for example, TCP/IP or DECnet) and can be
.PN FamilyInternet ,
.PN FamilyInternet6 ,
+.PN FamilyServerInterpreted ,
.PN FamilyDECnet ,
or
.PN FamilyChaos .
@@ -989,6 +990,30 @@ The second byte contains the most significant 2 bits of the
node number in the least significant 2 bits of the byte
and the area in the most significant 6 bits of the byte.
.LP
+For the ServerInterpreted family, the length is ignored and the address
+member is a pointer to a
+.PN XServerInterpretedAddress
+structure, which contains:
+.LP
+.IN "XServerInterpretedAddress" "" "@DEF@"
+.sM
+.Ds 0
+.TA .5i 3i
+.ta .5i 3i
+typedef struct {
+ int typelength; /* length of type string, in bytes */
+ int valuelength;/* length of value string, in bytes */
+ char *type; /* pointer to where to find the type string */
+ char *value; /* pointer to where to find the address */
+} XServerInterpretedAddress;
+.De
+.LP
+.eM
+The type and value members point to strings representing the type and value of
+the server interpreted entry. These strings may not be NULL-terminated so care
+should be used when accessing them. The typelength and valuelength members
+specify the length in byte of the type and value strings.
+.LP
.sp
To add a single host, use
.PN XAddHost .
diff --git a/specs/XProtocol/X11.protocol b/specs/XProtocol/X11.protocol
index 9ce6121..84de68f 100644
--- a/specs/XProtocol/X11.protocol
+++ b/specs/XProtocol/X11.protocol
@@ -1,4 +1,5 @@
.\" $Xorg: X11.protocol,v 1.4 $
+.\" $XdotOrg: xc/doc/specs/XProtocol/X11.protocol,v 1.1.4.2.6.1 2004/03/17 17:39:36 alanc Exp $
.\"
.\"
.\"
@@ -8733,9 +8734,15 @@ The host number is always the first byte in the address,
and the subnet number is always the second byte.
The server performs no automatic swapping on the address bytes.
.LP
-The ServerInterpreted family may be of any length up to 65535 bytes.
-The address is simply a string of characters which is interpreted by
-the server. The server performs no automatic swapping on the address bytes.
+For the ServerInterpreted family, the address may be of any
+length up to 65535 bytes. The address consists of two strings
+of ASCII characters, separated by a byte with a value of 0.
+The first string represents the type of address, and the second
+string contains the address value. Address types and the syntax
+for their associated values will be registered via the X.org Registry.
+Implementors who wish to add implementation specific types may register
+a unique prefix with the X.org registry to prevent namespace
+collisions.
.LP
Use of a host address in the ChangeHosts request is deprecated. It is
only useful when a host has a unique, constant address, a requirement