Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
resource_tree Struct Reference

A resource tree. More...

Collaboration diagram for resource_tree:
Collaboration graph
[legend]

Data Fields

unsigned int notification_batch_interval
 
struct tree_noderoot
 

Detailed Description

A resource tree.

When an inbound SUBSCRIBE arrives, the resource being subscribed to may be a resource list. If this is the case, the resource list may contain resources that are themselves lists. The structure needed to hold the resources is a tree.

Upon receipt of the SUBSCRIBE, the tree is built by determining if subscriptions to the individual resources in the tree would be successful or not. Any successful subscriptions result in a node in the tree being created. Any unsuccessful subscriptions result in no node being created.

This tree can be seen as a bare-bones analog of the tree of ast_sip_subscriptions that will end up being created to actually carry out the duties of a SIP SUBSCRIBE dialog.

Definition at line 1122 of file res_pjsip_pubsub.c.

Field Documentation

◆ notification_batch_interval

unsigned int notification_batch_interval

Definition at line 1124 of file res_pjsip_pubsub.c.

Referenced by build_resource_tree(), and create_subscription_tree().

◆ root

struct tree_node* root

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