UniMRCP
1.5.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
apr-toolkit
include
apt_pool.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 APT_POOL_H
18
#define APT_POOL_H
19
20
/**
21
* @file apt_pool.h
22
* @brief APR pool management
23
*/
24
25
/**
26
* Wrappers around APR pool creation
27
* allow to control memory allocation policy project uses
28
*/
29
30
#include "
apt.h
"
31
32
APT_BEGIN_EXTERN_C
33
34
/**
35
* Create APR pool
36
*/
37
APT_DECLARE
(apr_pool_t*)
apt_pool_create
(
void
);
38
39
/**
40
* Create APR subpool pool
41
* @param parent the parent pool
42
*/
43
APT_DECLARE
(apr_pool_t*)
apt_subpool_create
(apr_pool_t *parent);
44
45
APT_END_EXTERN_C
46
47
#endif
/* APT_POOL_H */
APT_END_EXTERN_C
#define APT_END_EXTERN_C
Definition:
apt.h:38
apt_subpool_create
apr_pool_t * apt_subpool_create(apr_pool_t *parent)
APT_BEGIN_EXTERN_C
#define APT_BEGIN_EXTERN_C
Definition:
apt.h:36
APT_DECLARE
#define APT_DECLARE(type)
Definition:
apt.h:53
apt.h
APR Toolkit Definitions.
apt_pool_create
APT_BEGIN_EXTERN_C apr_pool_t * apt_pool_create(void)
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by
1.8.6