-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
we are strongly considering using c-ares for a project we are working on
[1]. One thing that, from our perspective, was missing from c-ares was
the ability to parse SRV records. I scanned the archives briefly and
found one post dated 2004 [2] that said you wouldn't be opposed to
adding such functionality.
The attached patch adds a ares_parse_srv_reply function. I look at other
ares_parse_XXX_reply functions for inspiration, but as this is my first
patch for the project, I guess there will be some comments as per code
quality or formatting standards - of course I'm willing to fix these.
Thank you,
Jakub Hrozek
[1] https://fedorahosted.org/sssd/
[2] http://curl.haxx.se/mail/lib-2004-03/0302.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkpLjSUACgkQHsardTLnvCVtEQCfdwFZu99rl/p3HkycnSiWKmqM
TX0Ani0Ps+wk0vZgRIxe/Vw4eR7e/EQ7
=IV4S
-----END PGP SIGNATURE-----