From e4d12b9b2c3584dba64e7b3ae2d2b466d09b6122 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 18 Jun 2014 00:22:35 +0000 Subject: Add a debug "dump to stderr" feature to cadet --- src/include/gnunet_cadet_service.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/gnunet_cadet_service.h') diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index e69c9eaa7..14826c40b 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h @@ -493,6 +493,15 @@ GNUNET_CADET_get_channel (struct GNUNET_CADET_Handle *h, GNUNET_CADET_ChannelCB callback, void *callback_cls); +/** + * Request a debug dump on the service's STDERR. + * + * WARNING: unstable API, likely to change in the future! + * + * @param h cadet handle + */ +void +GNUNET_CADET_request_dump (struct GNUNET_CADET_Handle *h); /** * Request information about peers known to the running cadet service. -- cgit v1.2.3