[Telepathy-commits] [telepathy-spec/master] Add Socket_Address_IP for addresses that can either be v4 or v6
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Mar 24 09:53:43 PDT 2009
---
spec/generic-types.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/spec/generic-types.xml b/spec/generic-types.xml
index dbdcafb..a07e6f6 100644
--- a/spec/generic-types.xml
+++ b/spec/generic-types.xml
@@ -97,6 +97,19 @@
<tp:member type="s" name="Value"/>
</tp:mapping>
+ <tp:struct name="Socket_Address_IP">
+ <tp:docstring>An IP address and port.</tp:docstring>
+ <tp:member type="s" name="Address">
+ <tp:docstring>Either a dotted-quad IPv4 address literal as for
+ <tp:type>Socket_Address_IPv4</tp:type>, or an RFC2373 IPv6 address
+ as for <tp:type>Socket_Address_IPv6</tp:type>.
+ </tp:docstring>
+ </tp:member>
+ <tp:member type="q" name="Port">
+ <tp:docstring>The TCP or UDP port number.</tp:docstring>
+ </tp:member>
+ </tp:struct>
+
<tp:struct name="Socket_Address_IPv4">
<tp:docstring>An IPv4 address and port.</tp:docstring>
<tp:member type="s" name="Address">
--
1.5.6.5
More information about the telepathy-commits
mailing list