]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Remove _from prototypes from header
authorWillem Toorop <willem@NLnetLabs.nl>
Tue, 19 Mar 2013 18:43:38 +0000 (18:43 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Tue, 19 Mar 2013 18:43:38 +0000 (18:43 +0000)
ldns/net.h.in

index 22f53791eba7b9730d62e7b4e33e96e9c6aedd13..e6b3618f20f2dad6bc4b3ea67ca8b4758d2d1720 100644 (file)
@@ -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