UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
mrcp-engine
include
mrcp_engine_loader.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 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
* $Id: mrcp_engine_loader.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MRCP_ENGINE_LOADER_H
20
#define MRCP_ENGINE_LOADER_H
21
22
/**
23
* @file mrcp_engine_loader.h
24
* @brief Loader of plugins for MRCP engines
25
*/
26
27
#include "
mrcp_engine_iface.h
"
28
29
APT_BEGIN_EXTERN_C
30
31
/** Opaque engine loader declaration */
32
typedef
struct
mrcp_engine_loader_t
mrcp_engine_loader_t
;
33
34
/** Create engine loader */
35
MRCP_DECLARE
(
mrcp_engine_loader_t
*)
mrcp_engine_loader_create
(apr_pool_t *pool);
36
37
/** Destroy engine loader */
38
MRCP_DECLARE
(
apt_bool_t
)
mrcp_engine_loader_destroy
(
mrcp_engine_loader_t
*loader);
39
40
/** Unload loaded plugins */
41
MRCP_DECLARE
(
apt_bool_t
)
mrcp_engine_loader_plugins_unload
(
mrcp_engine_loader_t
*loader);
42
43
44
/** Load engine plugin */
45
MRCP_DECLARE
(
mrcp_engine_t
*)
mrcp_engine_loader_plugin_load
(
46
mrcp_engine_loader_t
*loader,
47
const
char
*
id
,
48
const
char
*path,
49
mrcp_engine_config_t
*config);
50
51
52
APT_END_EXTERN_C
53
54
#endif
/* MRCP_ENGINE_LOADER_H */
Generated on Mon Feb 2 2015 19:41:39 for UniMRCP by
1.8.3.1