WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @author Christian Grothoff
*
* @return handle to the notification context
*/
struct GNUNET_NotificationContext *
-GNUNET_notification_context_create (unsigned int queue_length);
+GNUNET_notification_context_create(unsigned int queue_length);
/**
* @param nc context to destroy.
*/
void
-GNUNET_notification_context_destroy (struct GNUNET_NotificationContext *nc);
+GNUNET_notification_context_destroy(struct GNUNET_NotificationContext *nc);
/**
* @param mq message queue add
*/
void
-GNUNET_notification_context_add (struct GNUNET_NotificationContext *nc,
- struct GNUNET_MQ_Handle *mq);
+GNUNET_notification_context_add(struct GNUNET_NotificationContext *nc,
+ struct GNUNET_MQ_Handle *mq);
/**
* @param can_drop can this message be dropped due to queue length limitations
*/
void
-GNUNET_notification_context_broadcast (struct GNUNET_NotificationContext *nc,
- const struct GNUNET_MessageHeader *msg,
- int can_drop);
+GNUNET_notification_context_broadcast(struct GNUNET_NotificationContext *nc,
+ const struct GNUNET_MessageHeader *msg,
+ int can_drop);
/**
* Return active number of subscribers in this context.
* @return number of current subscribers
*/
unsigned int
-GNUNET_notification_context_get_size (struct GNUNET_NotificationContext *nc);
+GNUNET_notification_context_get_size(struct GNUNET_NotificationContext *nc);
#endif