aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_connection.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-07-09 14:07:12 +0000
committerBart Polot <bart@net.in.tum.de>2014-07-09 14:07:12 +0000
commit8add963880f7685c1189f6645e4c271b42d57922 (patch)
tree4ac64e22cdf3b894f7a95dc2e0af943625ce75b0 /src/cadet/gnunet-service-cadet_connection.h
parent66e1b341a64cbbceae12cf64c9aee77d96987813 (diff)
downloadgnunet-8add963880f7685c1189f6645e4c271b42d57922.tar.gz
gnunet-8add963880f7685c1189f6645e4c271b42d57922.zip
- fix variable log level, add connection debug function
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.h')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.h b/src/cadet/gnunet-service-cadet_connection.h
index 5d12ce7b3..90a06e62f 100644
--- a/src/cadet/gnunet-service-cadet_connection.h
+++ b/src/cadet/gnunet-service-cadet_connection.h
@@ -554,6 +554,15 @@ GCC_stop_poll (struct CadetConnection *c, int fwd);
554const char * 554const char *
555GCC_2s (const struct CadetConnection *c); 555GCC_2s (const struct CadetConnection *c);
556 556
557/**
558 * Log all possible info about the connection state.
559 *
560 * @param c Connection to debug.
561 * @param level Debug level to use.
562 */
563void
564GCC_debug (const struct CadetConnection *c, enum GNUNET_ErrorType level);
565
557#if 0 /* keep Emacsens' auto-indent happy */ 566#if 0 /* keep Emacsens' auto-indent happy */
558{ 567{
559#endif 568#endif