From: Willem Toorop Date: Tue, 19 Mar 2013 18:43:38 +0000 (+0000) Subject: Remove _from prototypes from header X-Git-Tag: release-1.6.17rc1~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ead8fc6cf280a643ad28d09b1bee2afd9ad4b8;p=thirdparty%2Fldns.git Remove _from prototypes from header --- diff --git a/ldns/net.h.in b/ldns/net.h.in index 22f53791..e6b3618f 100644 --- a/ldns/net.h.in +++ b/ldns/net.h.in @@ -29,20 +29,6 @@ extern "C" { * Contains functions to send and receive packets over a network. */ -/** - * Sends a buffer to an ip using udp and return the respons as a ldns_pkt - * \param[in] qbin the ldns_buffer to be send - * \param[in] to the ip addr to send to - * \param[in] tolen length of the ip addr - * \param[in] from the ip addr to send from - * \param[in] fromlen length of the ip addr - * \param[in] timeout the timeout value for the network - * \param[out] answersize size of the packet - * \param[out] result packet with the answer - * \return status - */ -ldns_status ldns_udp_send_from(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout, size_t *answersize); - /** * Sends a buffer to an ip using udp and return the respons as a ldns_pkt * \param[in] qbin the ldns_buffer to be send @@ -55,19 +41,6 @@ ldns_status ldns_udp_send_from(uint8_t **result, ldns_buffer *qbin, const struct */ ldns_status ldns_udp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize); -/** - * Send an udp query and don't wait for an answer but return - * the socket - * \param[in] qbin the ldns_buffer to be send - * \param[in] to the ip addr to send to - * \param[in] tolen length of the ip addr - * \param[in] from the ip addr to send from - * \param[in] fromlen length of the ip addr - * \param[in] timeout *unused*, was the timeout value for the network - * \return the socket used - */ -int ldns_udp_bgsend_from(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout); - /** * Send an udp query and don't wait for an answer but return * the socket