
On Tue, Oct 13, 2009 at 04:12:47PM +0200, Daniel Veillard wrote:
+/* + * virParseIPv6: + * @addr: pointer to the address string in classic hex and column format + * and zero terminated + * @res: optional pointer to the place to store the result + * + * Parse the IPv6 address in classic dot-decimal notation format like + * 2001:db8:85a3:0:0:8a2e:370:7334, and store the output if res is provided: + * for example res[0] = 0x2001, res[1] = 0xdb8, etc. + * TODO: doesn't support the :: compression notation yet
Oops old comment, actually it does !
+ * Retuns 0 in case of success and -1 in case of error + */
Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/