internal unsafe SRVReply(ares_srv_reply *reply) { Weight = reply->weight; Priority = reply->priority; Port = reply->port; Host = new string(reply->host); }
static unsafe int length(ares_srv_reply *reply) { int n = 0; for (var i = reply; i != null; i = i->next) { n++; } return n; }
static unsafe void free(ares_srv_reply *reply) { if (reply == null) { return; } free(reply->next); CAresChannel.ares_free_data((IntPtr)reply); }