diff options
Diffstat (limited to 'src/include/gnunet_nc_lib.h')
-rw-r--r-- | src/include/gnunet_nc_lib.h | 20 |
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 | */ |
56 | struct GNUNET_NotificationContext * | 56 | struct GNUNET_NotificationContext * |
57 | GNUNET_notification_context_create (unsigned int queue_length); | 57 | GNUNET_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 | */ |
65 | void | 65 | void |
66 | GNUNET_notification_context_destroy (struct GNUNET_NotificationContext *nc); | 66 | GNUNET_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 | */ |
75 | void | 75 | void |
76 | GNUNET_notification_context_add (struct GNUNET_NotificationContext *nc, | 76 | GNUNET_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 | */ |
87 | void | 87 | void |
88 | GNUNET_notification_context_broadcast (struct GNUNET_NotificationContext *nc, | 88 | GNUNET_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 | */ |
98 | unsigned int | 98 | unsigned int |
99 | GNUNET_notification_context_get_size (struct GNUNET_NotificationContext *nc); | 99 | GNUNET_notification_context_get_size(struct GNUNET_NotificationContext *nc); |
100 | 100 | ||
101 | #endif | 101 | #endif |