UniMRCP  1.7.0
mrcp_ca_factory.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef MRCP_CA_FACTORY_H
18 #define MRCP_CA_FACTORY_H
19 
20 /**
21  * @file mrcp_ca_factory.h
22  * @brief Factory of MRCPv2 Connection Agents
23  */
24 
25 #include "mrcp_connection_types.h"
26 
28 
29 /** Create factory of connection agents. */
31 
32 /** Add connection agent to factory. */
34 
35 /** Determine whether factory is empty. */
37 
38 /** Select next available agent. */
40 
42 
43 #endif /* MRCP_CA_FACTORY_H */
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
struct mrcp_connection_agent_t mrcp_connection_agent_t
Definition: mrcp_connection_types.h:42
#define APT_END_EXTERN_C
Definition: apt.h:38
int apt_bool_t
Definition: apt.h:57
MRCP Connection Types Declaration.
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
mrcp_connection_agent_t * mrcp_ca_factory_agent_select(mrcp_ca_factory_t *factory)
apt_bool_t mrcp_ca_factory_is_empty(const mrcp_ca_factory_t *factory)
struct mrcp_ca_factory_t mrcp_ca_factory_t
Definition: mrcp_connection_types.h:45
APT_BEGIN_EXTERN_C mrcp_ca_factory_t * mrcp_ca_factory_create(apr_pool_t *pool)
apt_bool_t mrcp_ca_factory_agent_add(mrcp_ca_factory_t *mpf_factory, mrcp_connection_agent_t *agent)