diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-18 20:22:04 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-18 20:22:04 +0000 |
commit | ccfe279117f197d2b3d0bb17bc754209024836a2 (patch) | |
tree | ccfd266b8c3b77c37da1515f49dd22b21a8a43bc /lib/memdebug.h | |
parent | 5b5ff41ef1ddd70864c55bdf47edd3f9c942cdc8 (diff) | |
download | curl-ccfe279117f197d2b3d0bb17bc754209024836a2.tar.gz |
Constantine Sapuntzakis enhancements to make memory tracking log file writing
of messages atomic, on systems where an fwrite of a memory buffer is atomic.
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r-- | lib/memdebug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h index ed1177b59..417d1f429 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -54,6 +54,7 @@ CURL_EXTERN void curl_dofree(void *ptr, int line, const char *source); CURL_EXTERN char *curl_dostrdup(const char *str, int line, const char *source); CURL_EXTERN void curl_memdebug(const char *logname); 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 *); |