summaryrefslogtreecommitdiff
path: root/lib/multiif.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-13 15:59:14 +0000
committerYang Tse <yangsita@gmail.com>2008-09-13 15:59:14 +0000
commitf591ab3ba0fafef16f3dab90f213e883c13a8c03 (patch)
tree89e09560c8623744edb82a2cf2736c59809e6d9c /lib/multiif.h
parent09aa4cf2caee83e24a86694aa845ec18cfdb17fb (diff)
downloadcurl-f591ab3ba0fafef16f3dab90f213e883c13a8c03.tar.gz
fix compiler warning: defined but not used
Diffstat (limited to 'lib/multiif.h')
-rw-r--r--lib/multiif.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/multiif.h b/lib/multiif.h
index 35bfbcc5f..b467d2954 100644
--- a/lib/multiif.h
+++ b/lib/multiif.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -44,4 +44,13 @@ void Curl_multi_handlePipeBreak(struct SessionHandle *data);
/* set the bit for the given sock number to make the bitmap for readable */
#define GETSOCK_READSOCK(x) (1 << (x))
+#ifdef CURLDEBUG
+ /*
+ * Curl_multi_dump is not a stable public function, this is only meant to
+ * allow easier tracking of the internal handle's state and what sockets
+ * they use. Only for research and development CURLDEBUG enabled builds.
+ */
+void Curl_multi_dump(const struct Curl_multi *multi_handle);
+#endif
+
#endif /* __MULTIIF_H */