aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-10-23 10:22:19 +0000
committerChristian Grothoff <christian@grothoff.org>2014-10-23 10:22:19 +0000
commitff4676cf541590707a7038cdd8b2e863c69c03a4 (patch)
tree5c900d333c23d19549b969ef40f429e13dc97baf /src/include
parent3a84bbc41f831e5af96cb2678b0eb180dde68eb8 (diff)
downloadgnunet-ff4676cf541590707a7038cdd8b2e863c69c03a4.tar.gz
gnunet-ff4676cf541590707a7038cdd8b2e863c69c03a4.zip
add function to obtain number of subscribers to NC
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_server_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h
index 8fa5a8718..3efdc4d59 100644
--- a/src/include/gnunet_server_lib.h
+++ b/src/include/gnunet_server_lib.h
@@ -709,6 +709,16 @@ GNUNET_SERVER_notification_context_broadcast (struct GNUNET_SERVER_NotificationC
709 709
710 710
711/** 711/**
712 * Return active number of subscribers in this context.
713 *
714 * @param nc context to query
715 * @return number of current subscribers
716 */
717unsigned int
718GNUNET_SERVER_notification_context_get_size (struct GNUNET_SERVER_NotificationContext *nc);
719
720
721/**
712 * Handle to a message stream tokenizer. 722 * Handle to a message stream tokenizer.
713 */ 723 */
714struct GNUNET_SERVER_MessageStreamTokenizer; 724struct GNUNET_SERVER_MessageStreamTokenizer;