Classes
Defines
Typedefs
Functions
Define Documentation
#define sdp_e_email_get sdp_message_e_email_get
OBSOLETE: see sdp_message_e_email_get
Typedef Documentation
Structure for referencing an attribute header.
Structure for referencing bandwidth header.
Structure for referencing a connection header.
Structure for referencing key header.
Structure for referencing a media header.
Structure for referencing a SDP packet.
Structure for referencing time description header.
Function Documentation
Free a attribute element.
- Parameters:
-
elem The element to work on.
Allocate an attribute element.
- Parameters:
-
elem The element to work on.
Free a bandwidth element.
- Parameters:
-
elem The element to work on.
Allocate a bandwidth element.
- Parameters:
-
elem The element to work on.
Free a connection element.
- Parameters:
-
elem The element to work on.
Allocate a connection element.
- Parameters:
-
elem The element to work on.
Free a key element.
- Parameters:
-
elem The element to work on.
Allocate a key element.
- Parameters:
-
elem The element to work on.
Free a media element.
- Parameters:
-
elem The element to work on.
Allocate a media element.
- Parameters:
-
elem The element to work on.
Get the attribute name ('a' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The attribute line number.
Get the attribute value ('a' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The attribute line number.
int
pos_media,
char *
att_field,
char *
att_value
)
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
att_field The token value.
att_value The token value.
int
pos_media,
char *
att_field
)
delete all attribute fields specified by att_field.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
att_field The value to remove.
int
pos_media,
char *
att_field,
int
pos_attr
)
delete one specific attribute fields specified by att_field.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
att_field The value to remove.
pos_attr The index of attribute to remove.
Get one of the attribute ('a' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The attribute line number.
int
pos_media,
char *
bwtype,
char *
bandwidth
)
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
bwtype The token value.
bandwidth The token value.
Get the bandwidth value ('b' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the bandwidth element list..
Get the bandwidth type ('b' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the bandwidth element list..
Get the bandwidth ('b' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the bandwidth element list..
Get the address ('c' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the connection element list..
char* sdp_message_c_addr_multicast_int_get
(
sdp_message_t *
sdp,
int
pos_media,
int
pos
)
Get the multicast int info ('c' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the connection element list..
char* sdp_message_c_addr_multicast_ttl_get
(
sdp_message_t *
sdp,
int
pos_media,
int
pos
)
Get the multicast ttl ('c' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the connection element list..
Get the address type ('c' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the connection element list..
int
pos_media,
char *
nettype,
char *
addrtype,
char *
addr,
char *
addr_multicast_ttl,
char *
addr_multicast_int
)
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
nettype The token value.
addrtype The token value.
addr The token value.
addr_multicast_ttl The token value.
addr_multicast_int The token value.
Get the network type ('c' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
pos The index in the connection element list..
Clone a SDP packet.
- Parameters:
-
sdp The element to work on.
dest The cloned element.
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Get one of the email ('e' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos the index of the email line.
Check if there is more media lines a SDP packet.
- Parameters:
-
sdp The element to work on.
pos The attribute line number.
Free a SDP packet.
- Parameters:
-
sdp The element to work on.
Get the session info ('i' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
int
pos_media,
char *
value
)
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
value The token value.
Allocate a SDP packet.
- Parameters:
-
sdp The element to work on.
int
pos_media,
char *
keytype,
char *
keydata
)
Add a key in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media index of m field.
keytype The token value.
keydata The token value.
Get the key value ('k' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
Get the key type ('k' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The media line number.
char *
media,
char *
port,
char *
number_of_port,
char *
proto
)
Add a media line in a SDP packet.
- Parameters:
-
sdp The element to work on.
media The token value.
port The token value.
number_of_port The token value.
proto The token value.
Get the media type ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
Get the number of port ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
int
pos_media,
char *
payload
)
Set the payload in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
payload The token value.
Remove a payload in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
pos The position of the payload in the media line.
Get one of the payload number ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
pos The i th payload element.
Get the port number ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
int
pos_media,
char *
port
)
Set the port number ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
port The new port to set (must be allocated with osip_malloc)
Get the protocol ('m' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_media The line number.
Get the addr ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Get the addrtype ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Get the nettype ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
char *
username,
char *
sess_id,
char *
sess_version,
char *
nettype,
char *
addrtype,
char *
addr
)
Set the origin field in a SDP packet.
- Parameters:
-
sdp The element to work on.
username The token value.
sess_id The token value.
sess_version The token value.
nettype The token value.
addrtype The token value.
addr The token value.
Get the session id ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Get the session version ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Get the username ('o' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Get one of the phone ('p' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos the index of the phone line.
Parse a SDP packet.
- Parameters:
-
sdp The element to work on.
buf The buffer to parse.
int
pos_time_descr,
char *
value
)
Set the repeat information ('r' field) in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_time_descr index of t field.
value The token value.
int
pos_time_descr,
int
pos_repeat
)
Get the repeat information ('r' field) in a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_time_descr index of t field.
pos_repeat index of element in the 'r' field.
Get the session name ('s' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Set the session name in a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Get the start time value ('t' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_td The time description line number.
Get the stop time value ('t' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
pos_td The time description line number.
char *
start,
char *
stop
)
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
start The token value.
stop The token value.
Get a string representation of a SDP packet.
- Parameters:
-
sdp The element to work on.
dest The resulting new allocated buffer.
Get the uri ('u' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Set the session info in a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Get the version ('v' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Set the version in a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Get the adjustments ('z' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
Set the adjustments ('z' field) of a SDP packet.
- Parameters:
-
sdp The element to work on.
value The token value.
Free a time description element.
- Parameters:
-
elem The element to work on.
Allocate a time description element.
- Parameters:
-
elem The element to work on.
Generated on Tue Feb 22 00:59:48 2005 for libosip by
doxygen 1.4.1