mrcp_control_descriptor.h File Reference

MRCPv2 Control Descriptor. More...

#include <apr_tables.h>
#include "apt_string.h"
#include "mrcp_connection_types.h"

Go to the source code of this file.

Data Structures

struct  mrcp_control_descriptor_t

Defines

#define TCP_DISCARD_PORT   9

Enumerations

enum  mrcp_proto_type_e { MRCP_PROTO_TCP, MRCP_PROTO_TLS, MRCP_PROTO_COUNT, MRCP_PROTO_UNKNOWN = MRCP_PROTO_COUNT }
enum  mrcp_attrib_e {
  MRCP_ATTRIB_SETUP, MRCP_ATTRIB_CONNECTION, MRCP_ATTRIB_RESOURCE, MRCP_ATTRIB_CHANNEL,
  MRCP_ATTRIB_CMID, MRCP_ATTRIB_COUNT, MRCP_ATTRIB_UNKNOWN = MRCP_ATTRIB_COUNT
}
enum  mrcp_setup_type_e { MRCP_SETUP_TYPE_ACTIVE, MRCP_SETUP_TYPE_PASSIVE, MRCP_SETUP_TYPE_COUNT, MRCP_SETUP_TYPE_UNKNOWN = MRCP_SETUP_TYPE_COUNT }
enum  mrcp_connection_type_e { MRCP_CONNECTION_TYPE_NEW, MRCP_CONNECTION_TYPE_EXISTING, MRCP_CONNECTION_TYPE_COUNT, MRCP_CONNECTION_TYPE_UNKNOWN = MRCP_CONNECTION_TYPE_COUNT }

Functions

mrcp_control_descriptor_tmrcp_control_descriptor_create (apr_pool_t *pool)
mrcp_control_descriptor_tmrcp_control_offer_create (apr_pool_t *pool)
mrcp_control_descriptor_tmrcp_control_answer_create (mrcp_control_descriptor_t *offer, apr_pool_t *pool)
void mrcp_cmid_add (apr_array_header_t *cmid_arr, apr_size_t cmid)
apt_bool_t mrcp_cmid_find (const apr_array_header_t *cmid_arr, apr_size_t cmid)
const apt_str_tmrcp_proto_get (mrcp_proto_type_e proto)
mrcp_proto_type_e mrcp_proto_find (const apt_str_t *attrib)
const apt_str_tmrcp_attrib_str_get (mrcp_attrib_e attrib_id)
mrcp_attrib_e mrcp_attrib_id_find (const apt_str_t *attrib)
const apt_str_tmrcp_setup_type_get (mrcp_setup_type_e setup_type)
mrcp_setup_type_e mrcp_setup_type_find (const apt_str_t *attrib)
const apt_str_tmrcp_connection_type_get (mrcp_connection_type_e connection_type)
mrcp_connection_type_e mrcp_connection_type_find (const apt_str_t *attrib)

Detailed Description

MRCPv2 Control Descriptor.


Define Documentation

#define TCP_DISCARD_PORT   9

TCP discard port used in offer/answer


Enumeration Type Documentation

MRCPv2 attributes

MRCPv2 connection attributes

MRCPv2 proto transport

MRCPv2 setup attributes


Function Documentation

mrcp_attrib_e mrcp_attrib_id_find ( const apt_str_t attrib  ) 

Find MRCP attribute identifier by name

const apt_str_t* mrcp_attrib_str_get ( mrcp_attrib_e  attrib_id  ) 

Get MRCP attribute name by identifier

void mrcp_cmid_add ( apr_array_header_t *  cmid_arr,
apr_size_t  cmid 
)

Add cmid to cmid_arr

apt_bool_t mrcp_cmid_find ( const apr_array_header_t *  cmid_arr,
apr_size_t  cmid 
)

Find cmid in cmid_arr

mrcp_connection_type_e mrcp_connection_type_find ( const apt_str_t attrib  ) 

Find MRCP connection type identifier by name

const apt_str_t* mrcp_connection_type_get ( mrcp_connection_type_e  connection_type  ) 

Get MRCP connection type name by identifier

mrcp_control_descriptor_t* mrcp_control_answer_create ( mrcp_control_descriptor_t offer,
apr_pool_t *  pool 
)

Create MRCP control answer

mrcp_control_descriptor_t* mrcp_control_descriptor_create ( apr_pool_t *  pool  ) 

Create MRCP control descriptor

mrcp_control_descriptor_t* mrcp_control_offer_create ( apr_pool_t *  pool  ) 

Create MRCP control offer

mrcp_proto_type_e mrcp_proto_find ( const apt_str_t attrib  ) 

Find MRCP protocol transport identifier by name

const apt_str_t* mrcp_proto_get ( mrcp_proto_type_e  proto  ) 

Get MRCP protocol transport name by identifier

mrcp_setup_type_e mrcp_setup_type_find ( const apt_str_t attrib  ) 

Find MRCP setup type identifier by name

const apt_str_t* mrcp_setup_type_get ( mrcp_setup_type_e  setup_type  ) 

Get MRCP setup type name by identifier

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 25 Mar 2013 for UniMRCP by  doxygen 1.6.1