mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:03:36 +03:00
fix socket data type and logging format in debug tracking socket functions
This commit is contained in:
parent
439f62bfa8
commit
5b778a7ca4
2 changed files with 39 additions and 21 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue