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

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

Data Fields

pjsip_generic_string_hdr * cid
 
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 2080 of file res_pjsip_pubsub.c.

Field Documentation

◆ cid

pjsip_generic_string_hdr* cid

Content-ID header for the body part

Definition at line 2082 of file res_pjsip_pubsub.c.

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

◆ part

pjsip_multipart_part* part

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

Definition at line 2090 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 2084 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 2088 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 2086 of file res_pjsip_pubsub.c.

Referenced by allocate_body_part().


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