Hi,
In c-ares 1.7.3, the function signature for ares_parse_srv_reply() appears
to have changed from what's mentioned in the online docs.
Instead of:
int ares_parse_srv_reply(const unsigned char* abuf, int alen, struct
srv_reply** srv_out, int *nsrvreply);
The correct synopsis now appears to be:
int ares_parse_srv_reply(const unsigned char* abuf, int alen, struct
ares_srv_reply** srv_out);
In addition to the omission of the last argument, the type of the 3rd
argument has changed from "struct srv_reply" to "struct ares_srv_reply".
This struct now also contains the new "struct ares_srv_reply *next" field
which compensates for the "int *nsrvreply" that has been deprecated.
Best regards,
Bill
--Received on 2010-06-17