UniMRCP  1.2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
apt_pool.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: apt_pool.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef APT_POOL_H
20 #define APT_POOL_H
21 
22 /**
23  * @file apt_pool.h
24  * @brief APR pool management
25  */
26 
27 /**
28  * Wrappers around APR pool creation
29  * allow to control memory allocation policy project uses
30  */
31 
32 #include "apt.h"
33 
35 
36 /**
37  * Create APR pool
38  */
39 APT_DECLARE(apr_pool_t*) apt_pool_create(void);
40 
41 /**
42  * Create APR subpool pool
43  * @param parent the parent pool
44  */
45 APT_DECLARE(apr_pool_t*) apt_subpool_create(apr_pool_t *parent);
46 
48 
49 #endif /* APT_POOL_H */