GNUnet  0.11.x
Data Fields
GNUNET_NotificationContext Struct Reference

The notification context is the key datastructure for a convenience API used for transmission of notifications to the subscriber until the subscriber disconnects (or the notification context is destroyed, in which case we disconnect these subscribers). More...

Collaboration diagram for GNUNET_NotificationContext:
[legend]

Data Fields

struct SubscriberListsubscribers_head
 Head of list of subscribers receiving notifications. More...
 
struct SubscriberListsubscribers_tail
 Tail of list of subscribers receiving notifications. More...
 
unsigned int queue_length
 Maximum number of optional messages to queue per subscriber. More...
 

Detailed Description

The notification context is the key datastructure for a convenience API used for transmission of notifications to the subscriber until the subscriber disconnects (or the notification context is destroyed, in which case we disconnect these subscribers).

Essentially, all (notification) messages are queued up until the subscriber is able to read them.

Definition at line 75 of file nc.c.

Field Documentation

◆ subscribers_head

struct SubscriberList* GNUNET_NotificationContext::subscribers_head

◆ subscribers_tail

struct SubscriberList* GNUNET_NotificationContext::subscribers_tail

Tail of list of subscribers receiving notifications.

Definition at line 85 of file nc.c.

Referenced by GNUNET_notification_context_add(), GNUNET_notification_context_destroy(), and handle_mq_destroy().

◆ queue_length

unsigned int GNUNET_NotificationContext::queue_length

Maximum number of optional messages to queue per subscriber.

Definition at line 90 of file nc.c.

Referenced by GNUNET_notification_context_broadcast(), and GNUNET_notification_context_create().


The documentation for this struct was generated from the following file: