libosip  5.3.0
Classes | Macros | Typedefs | Functions
sdp_message.h File Reference

oSIP SDP parser Routines More...

#include <osipparser2/osip_list.h>

Go to the source code of this file.

Classes

struct  sdp_bandwidth
 
struct  sdp_time_descr
 
struct  sdp_key
 
struct  sdp_attribute
 
struct  sdp_connection
 
struct  sdp_media
 
struct  sdp_message
 

Macros

#define sdp_e_email_get   sdp_message_e_email_get
 

Typedefs

typedef struct sdp_bandwidth sdp_bandwidth_t
 
typedef struct sdp_time_descr sdp_time_descr_t
 
typedef struct sdp_key sdp_key_t
 
typedef struct sdp_attribute sdp_attribute_t
 
typedef struct sdp_connection sdp_connection_t
 
typedef struct sdp_media sdp_media_t
 
typedef struct sdp_message sdp_message_t
 

Functions

int sdp_bandwidth_init (sdp_bandwidth_t **elem)
 
void sdp_bandwidth_free (sdp_bandwidth_t *elem)
 
int sdp_time_descr_init (sdp_time_descr_t **elem)
 
void sdp_time_descr_free (sdp_time_descr_t *elem)
 
int sdp_key_init (sdp_key_t **elem)
 
void sdp_key_free (sdp_key_t *elem)
 
int sdp_attribute_init (sdp_attribute_t **elem)
 
void sdp_attribute_free (sdp_attribute_t *elem)
 
int sdp_connection_init (sdp_connection_t **elem)
 
void sdp_connection_free (sdp_connection_t *elem)
 
int sdp_media_init (sdp_media_t **elem)
 
void sdp_media_free (sdp_media_t *elem)
 
int sdp_message_init (sdp_message_t **sdp)
 
int sdp_message_parse (sdp_message_t *sdp, const char *buf)
 
int sdp_message_to_str (sdp_message_t *sdp, char **dest)
 
void sdp_message_free (sdp_message_t *sdp)
 
int sdp_message_clone (sdp_message_t *sdp, sdp_message_t **dest)
 
int sdp_message_v_version_set (sdp_message_t *sdp, char *value)
 
char * sdp_message_v_version_get (sdp_message_t *sdp)
 
int sdp_message_o_origin_set (sdp_message_t *sdp, char *username, char *sess_id, char *sess_version, char *nettype, char *addrtype, char *addr)
 
char * sdp_message_o_username_get (sdp_message_t *sdp)
 
char * sdp_message_o_sess_id_get (sdp_message_t *sdp)
 
char * sdp_message_o_sess_version_get (sdp_message_t *sdp)
 
char * sdp_message_o_nettype_get (sdp_message_t *sdp)
 
char * sdp_message_o_addrtype_get (sdp_message_t *sdp)
 
char * sdp_message_o_addr_get (sdp_message_t *sdp)
 
int sdp_message_s_name_set (sdp_message_t *sdp, char *value)
 
char * sdp_message_s_name_get (sdp_message_t *sdp)
 
int sdp_message_i_info_set (sdp_message_t *sdp, int pos_media, char *value)
 
char * sdp_message_i_info_get (sdp_message_t *sdp, int pos_media)
 
int sdp_message_u_uri_set (sdp_message_t *sdp, char *value)
 
char * sdp_message_u_uri_get (sdp_message_t *sdp)
 
int sdp_message_e_email_add (sdp_message_t *sdp, char *value)
 
char * sdp_message_e_email_get (sdp_message_t *sdp, int pos)
 
int sdp_message_p_phone_add (sdp_message_t *sdp, char *value)
 
char * sdp_message_p_phone_get (sdp_message_t *sdp, int pos)
 
int sdp_message_c_connection_add (sdp_message_t *sdp, int pos_media, char *nettype, char *addrtype, char *addr, char *addr_multicast_ttl, char *addr_multicast_int)
 
char * sdp_message_c_nettype_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_c_addrtype_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_c_addr_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_c_addr_multicast_ttl_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_c_addr_multicast_int_get (sdp_message_t *sdp, int pos_media, int pos)
 
int sdp_message_b_bandwidth_add (sdp_message_t *sdp, int pos_media, char *bwtype, char *bandwidth)
 
sdp_bandwidth_tsdp_message_bandwidth_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_b_bwtype_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_b_bandwidth_get (sdp_message_t *sdp, int pos_media, int pos)
 
int sdp_message_t_time_descr_add (sdp_message_t *sdp, char *start, char *stop)
 
char * sdp_message_t_start_time_get (sdp_message_t *sdp, int pos_td)
 
char * sdp_message_t_stop_time_get (sdp_message_t *sdp, int pos_td)
 
int sdp_message_r_repeat_add (sdp_message_t *sdp, int pos_time_descr, char *value)
 
char * sdp_message_r_repeat_get (sdp_message_t *sdp, int pos_time_descr, int pos_repeat)
 
int sdp_message_z_adjustments_set (sdp_message_t *sdp, char *value)
 
char * sdp_message_z_adjustments_get (sdp_message_t *sdp)
 
int sdp_message_k_key_set (sdp_message_t *sdp, int pos_media, char *keytype, char *keydata)
 
char * sdp_message_k_keytype_get (sdp_message_t *sdp, int pos_media)
 
char * sdp_message_k_keydata_get (sdp_message_t *sdp, int pos_media)
 
int sdp_message_a_attribute_add (sdp_message_t *sdp, int pos_media, char *att_field, char *att_value)
 
int sdp_message_a_attribute_del (sdp_message_t *sdp, int pos_media, char *att_field)
 
int sdp_message_a_attribute_del_at_index (sdp_message_t *sdp, int pos_media, char *att_field, int pos_attr)
 
sdp_attribute_tsdp_message_attribute_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_a_att_field_get (sdp_message_t *sdp, int pos_media, int pos)
 
char * sdp_message_a_att_value_get (sdp_message_t *sdp, int pos_media, int pos)
 
int sdp_message_endof_media (sdp_message_t *sdp, int pos)
 
int sdp_message_m_media_add (sdp_message_t *sdp, char *media, char *port, char *number_of_port, char *proto)
 
char * sdp_message_m_media_get (sdp_message_t *sdp, int pos_media)
 
char * sdp_message_m_port_get (sdp_message_t *sdp, int pos_media)
 
int sdp_message_m_port_set (sdp_message_t *sdp, int pos_media, char *port)
 
char * sdp_message_m_number_of_port_get (sdp_message_t *sdp, int pos_media)
 
char * sdp_message_m_proto_get (sdp_message_t *sdp, int pos_media)
 
int sdp_message_m_payload_add (sdp_message_t *sdp, int pos_media, char *payload)
 
char * sdp_message_m_payload_get (sdp_message_t *sdp, int pos_media, int pos)
 
int sdp_message_m_payload_del (sdp_message_t *sdp, int pos_media, int pos)
 

Detailed Description

oSIP SDP parser Routines

This is the SDP accessor and parser related API.