summaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-22 23:28:56 +0000
committerYang Tse <yangsita@gmail.com>2010-02-22 23:28:56 +0000
commit5b778a7ca4b09f7e50f00ab2624035bb9e4d3528 (patch)
tree1fcaf87869cd25ebe404361c9be823f79679319f /lib/memdebug.h
parent439f62bfa8fff1b6370c286f4e06775aa81661bc (diff)
downloadcurl-5b778a7ca4b09f7e50f00ab2624035bb9e4d3528.tar.gz
fix socket data type and logging format in debug tracking socket functions
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index c67648391..27351b5d8 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -57,11 +57,14 @@ CURL_EXTERN void curl_memlimit(long limit);
CURL_EXTERN void curl_memlog(const char *format, ...);
/* file descriptor manipulators */
-CURL_EXTERN int curl_socket(int domain, int type, int protocol, int line , const char *);
-CURL_EXTERN void curl_mark_sclose(int sockfd, int, const char *source);
-CURL_EXTERN int curl_sclose(int sockfd, int, const char *source);
-CURL_EXTERN int curl_accept(int s, void *addr, void *addrlen,
- int line, const char *source);
+CURL_EXTERN curl_socket_t curl_socket(int domain, int type, int protocol,
+ int line , const char *source);
+CURL_EXTERN void curl_mark_sclose(curl_socket_t sockfd,
+ int line , const char *source);
+CURL_EXTERN int curl_sclose(curl_socket_t sockfd,
+ int line , const char *source);
+CURL_EXTERN curl_socket_t curl_accept(curl_socket_t s, void *a, void *alen,
+ int line, const char *source);
/* FILE functions */
CURL_EXTERN FILE *curl_fopen(const char *file, const char *mode, int line,