UniMRCP
1.2.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
mrcp
control
include
mrcp_resource_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_resource_loader.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MRCP_RESOURCE_LOADER_H
20
#define MRCP_RESOURCE_LOADER_H
21
22
/**
23
* @file mrcp_resource_loader.h
24
* @brief MRCP Resource Loader
25
*/
26
27
#include "
apt_string.h
"
28
#include "
mrcp_types.h
"
29
30
APT_BEGIN_EXTERN_C
31
32
/** Opaque resource loader declaration */
33
typedef
struct
mrcp_resource_loader_t
mrcp_resource_loader_t
;
34
35
36
/** Create MRCP resource loader */
37
MRCP_DECLARE
(
mrcp_resource_loader_t
*)
mrcp_resource_loader_create
(
apt_bool_t
load_all_resources, apr_pool_t *pool);
38
39
/** Load all MRCP resources */
40
MRCP_DECLARE
(
apt_bool_t
)
mrcp_resources_load
(
mrcp_resource_loader_t
*loader);
41
42
/** Load MRCP resource by resource name */
43
MRCP_DECLARE
(
apt_bool_t
)
mrcp_resource_load
(
mrcp_resource_loader_t
*loader, const
apt_str_t
*name);
44
45
/** Load MRCP resource by resource identifier */
46
MRCP_DECLARE
(
apt_bool_t
)
mrcp_resource_load_by_id
(
mrcp_resource_loader_t
*loader,
mrcp_resource_id
id
);
47
48
/** Get MRCP resource factory */
49
MRCP_DECLARE
(
mrcp_resource_factory_t
*)
mrcp_resource_factory_get
(const
mrcp_resource_loader_t
*loader);
50
51
APT_END_EXTERN_C
52
53
#endif
/* MRCP_RESOURCE_LOADER_H */
Generated on Sun Jul 6 2014 22:12:46 for UniMRCP by
1.8.3.1