summaryrefslogtreecommitdiff
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.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_nc_lib.h b/src/include/gnunet_nc_lib.h
index 2bfa7040c..1bdb474ea 100644
--- a/src/include/gnunet_nc_lib.h
+++ b/src/include/gnunet_nc_lib.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @author Christian Grothoff 21 * @author Christian Grothoff
22 * 22 *
@@ -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