aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nc_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_nc_lib.h')
-rw-r--r--src/include/gnunet_nc_lib.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_nc_lib.h b/src/include/gnunet_nc_lib.h
index 1bdb474ea..bd22fd6e2 100644
--- a/src/include/gnunet_nc_lib.h
+++ b/src/include/gnunet_nc_lib.h
@@ -54,7 +54,7 @@ struct GNUNET_NotificationContext;
54 * @return handle to the notification context 54 * @return handle to the notification context
55 */ 55 */
56struct GNUNET_NotificationContext * 56struct GNUNET_NotificationContext *
57GNUNET_notification_context_create(unsigned int queue_length); 57GNUNET_notification_context_create (unsigned int queue_length);
58 58
59 59
60/** 60/**
@@ -63,7 +63,7 @@ GNUNET_notification_context_create(unsigned int queue_length);
63 * @param nc context to destroy. 63 * @param nc context to destroy.
64 */ 64 */
65void 65void
66GNUNET_notification_context_destroy(struct GNUNET_NotificationContext *nc); 66GNUNET_notification_context_destroy (struct GNUNET_NotificationContext *nc);
67 67
68 68
69/** 69/**
@@ -73,8 +73,8 @@ GNUNET_notification_context_destroy(struct GNUNET_NotificationContext *nc);
73 * @param mq message queue add 73 * @param mq message queue add
74 */ 74 */
75void 75void
76GNUNET_notification_context_add(struct GNUNET_NotificationContext *nc, 76GNUNET_notification_context_add (struct GNUNET_NotificationContext *nc,
77 struct GNUNET_MQ_Handle *mq); 77 struct GNUNET_MQ_Handle *mq);
78 78
79 79
80/** 80/**
@@ -85,9 +85,9 @@ GNUNET_notification_context_add(struct GNUNET_NotificationContext *nc,
85 * @param can_drop can this message be dropped due to queue length limitations 85 * @param can_drop can this message be dropped due to queue length limitations
86 */ 86 */
87void 87void
88GNUNET_notification_context_broadcast(struct GNUNET_NotificationContext *nc, 88GNUNET_notification_context_broadcast (struct GNUNET_NotificationContext *nc,
89 const struct GNUNET_MessageHeader *msg, 89 const struct GNUNET_MessageHeader *msg,
90 int can_drop); 90 int can_drop);
91 91
92/** 92/**
93 * Return active number of subscribers in this context. 93 * Return active number of subscribers in this context.
@@ -96,6 +96,6 @@ GNUNET_notification_context_broadcast(struct GNUNET_NotificationContext *nc,
96 * @return number of current subscribers 96 * @return number of current subscribers
97 */ 97 */
98unsigned int 98unsigned int
99GNUNET_notification_context_get_size(struct GNUNET_NotificationContext *nc); 99GNUNET_notification_context_get_size (struct GNUNET_NotificationContext *nc);
100 100
101#endif 101#endif