UniMRCP  1.7.0
mrcp_engine_loader.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_ENGINE_LOADER_H
18 #define MRCP_ENGINE_LOADER_H
19 
20 /**
21  * @file mrcp_engine_loader.h
22  * @brief Loader of plugins for MRCP engines
23  */
24 
25 #include "mrcp_engine_iface.h"
26 
28 
29 /** Opaque engine loader declaration */
31 
32 /** Create engine loader */
34 
35 /** Destroy engine loader */
37 
38 /** Unload loaded plugins */
40 
41 
42 /** Load engine plugin */
44  mrcp_engine_loader_t *loader,
45  const char *id,
46  const char *path,
47  mrcp_engine_config_t *config);
48 
49 
51 
52 #endif /* MRCP_ENGINE_LOADER_H */
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
MRCP Engine User Interface (typically user is an MRCP server)
#define APT_END_EXTERN_C
Definition: apt.h:38
int apt_bool_t
Definition: apt.h:57
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
typedefAPT_BEGIN_EXTERN_C struct mrcp_engine_loader_t mrcp_engine_loader_t
Definition: mrcp_engine_loader.h:30
Definition: mrcp_engine_types.h:150
mrcp_engine_t * mrcp_engine_loader_plugin_load(mrcp_engine_loader_t *loader, const char *id, const char *path, mrcp_engine_config_t *config)
apt_bool_t mrcp_engine_loader_destroy(mrcp_engine_loader_t *loader)
mrcp_engine_loader_t * mrcp_engine_loader_create(apr_pool_t *pool)
Definition: mrcp_engine_types.h:119
apt_bool_t mrcp_engine_loader_plugins_unload(mrcp_engine_loader_t *loader)