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

A multipart body part and meta-information. More...

Data Fields

pjsip_generic_string_hdr * cid
 
const char * display_name
 
pjsip_multipart_part * part
 
const char * resource
 
pjsip_evsub_state state
 
pjsip_sip_uri * uri
 

Detailed Description

A multipart body part and meta-information.

When creating a multipart body part, the end result (the pjsip_multipart_part) is hard to inspect without undoing a lot of what was done to create it. Therefore, we use this structure to store meta-information about the body part.

The main consumer of this is the creator of the RLMI body part of a multipart resource list body.

Definition at line 2124 of file res_pjsip_pubsub.c.

Field Documentation

◆ cid

pjsip_generic_string_hdr* cid

Content-ID header for the body part

Definition at line 2126 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part(), build_body_part(), and build_rlmi_body().

◆ display_name

const char* display_name

Display name for the resource

Definition at line 2136 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part().

◆ part

pjsip_multipart_part* part

The actual body part that will be present in the multipart body

Definition at line 2134 of file res_pjsip_pubsub.c.

Referenced by build_body_part(), build_rlmi_body(), and free_body_parts().

◆ resource

const char* resource

Subscribed resource represented in the body part

Definition at line 2128 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part().

◆ state

pjsip_evsub_state state

Subscription state of the resource represented in the body part

Definition at line 2132 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part().

◆ uri

pjsip_sip_uri* uri

URI for the subscribed body part

Definition at line 2130 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part().


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