diff options
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r-- | lib/memdebug.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h index c6b9225f4..6fb8b6851 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -67,10 +67,15 @@ CURL_EXTERN int curl_socketpair(int domain, int type, int protocol, #endif /* send/receive sockets */ -CURL_EXTERN ssize_t curl_dosend(int sockfd, const void *buf, size_t len, - int flags, int line, const char *source); -CURL_EXTERN ssize_t curl_dorecv(int sockfd, void *buf, size_t len, int flags, - int line, const char *source); +CURL_EXTERN SEND_TYPE_RETV curl_dosend(SEND_TYPE_ARG1 sockfd, + SEND_QUAL_ARG2 SEND_TYPE_ARG2 buf, + SEND_TYPE_ARG3 len, + SEND_TYPE_ARG4 flags, int line, + const char *source); +CURL_EXTERN RECV_TYPE_RETV curl_dorecv(RECV_TYPE_ARG1 sockfd, + RECV_TYPE_ARG2 buf, RECV_TYPE_ARG3 len, + RECV_TYPE_ARG4 flags, int line, + const char *source); /* FILE functions */ CURL_EXTERN FILE *curl_fopen(const char *file, const char *mode, int line, |