diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-07-09 14:07:12 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-07-09 14:07:12 +0000 |
commit | 8add963880f7685c1189f6645e4c271b42d57922 (patch) | |
tree | 4ac64e22cdf3b894f7a95dc2e0af943625ce75b0 /src/cadet/gnunet-service-cadet_connection.h | |
parent | 66e1b341a64cbbceae12cf64c9aee77d96987813 (diff) | |
download | gnunet-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.h | 9 |
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); | |||
554 | const char * | 554 | const char * |
555 | GCC_2s (const struct CadetConnection *c); | 555 | GCC_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 | */ | ||
563 | void | ||
564 | GCC_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 |