Apache HTTPD
framework
httpd-2.4.62
srclib
apr-util
include
apr_rmm.h
Go to the documentation of this file.
1
/* Licensed to the Apache Software Foundation (ASF) under one or more
2
* contributor license agreements. See the NOTICE file distributed with
3
* this work for additional information regarding copyright ownership.
4
* The ASF licenses this file to You under the Apache License, Version 2.0
5
* (the "License"); you may not use this file except in compliance with
6
* the License. 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 APR_RMM_H
18
#define APR_RMM_H
29
#include "apr.h"
30
#include "
apr_pools.h
"
31
#include "
apr_errno.h
"
32
#include "apu.h"
33
#include "
apr_anylock.h
"
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
/* __cplusplus */
38
40
typedef
struct
apr_rmm_t
apr_rmm_t
;
41
43
typedef
apr_size_t
apr_rmm_off_t
;
44
56
APU_DECLARE
(
apr_status_t
)
apr_rmm_init
(
apr_rmm_t
**
rmm
,
apr_anylock_t
*
lock
,
57
void
*
membuf
,
apr_size_t
memsize
,
58
apr_pool_t
*
cont
);
59
64
APU_DECLARE
(
apr_status_t
)
apr_rmm_destroy
(
apr_rmm_t
*
rmm
);
65
73
APU_DECLARE
(
apr_status_t
)
apr_rmm_attach
(
apr_rmm_t
**
rmm
,
apr_anylock_t
*
lock
,
74
void
*
membuf
,
apr_pool_t
*
cont
);
75
80
APU_DECLARE
(
apr_status_t
)
apr_rmm_detach
(
apr_rmm_t
*
rmm
);
81
87
APU_DECLARE
(
apr_rmm_off_t
)
apr_rmm_malloc
(
apr_rmm_t
*
rmm
,
apr_size_t
reqsize
);
88
95
APU_DECLARE
(
apr_rmm_off_t
)
apr_rmm_realloc
(
apr_rmm_t
*
rmm
,
void
*
entity
,
apr_size_t
reqsize
);
96
102
APU_DECLARE
(
apr_rmm_off_t
)
apr_rmm_calloc
(
apr_rmm_t
*
rmm
,
apr_size_t
reqsize
);
103
109
APU_DECLARE
(
apr_status_t
)
apr_rmm_free
(
apr_rmm_t
*
rmm
,
apr_rmm_off_t
entity
);
110
117
APU_DECLARE
(
void
*)
apr_rmm_addr_get
(
apr_rmm_t
*
rmm
,
apr_rmm_off_t
entity
);
118
124
APU_DECLARE
(
apr_rmm_off_t
)
apr_rmm_offset_get
(
apr_rmm_t
*
rmm
,
void
*
entity
);
125
130
APU_DECLARE
(
apr_size_t
)
apr_rmm_overhead_get
(
int
n
);
131
132
#ifdef __cplusplus
133
}
134
#endif
136
#endif
/* ! APR_RMM_H */
137
n
int n
Definition
ap_regex.h:278
apr_anylock.h
APR-Util transparent any lock flavor wrapper.
apr_errno.h
APR Error Codes.
apr_pools.h
APR memory allocation.
APU_DECLARE
APU_DECLARE(void)
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
Definition
apr_sha1.c:206
lock
apr_anylock_t * lock
Definition
apr_rmm.h:56
apr_rmm_off_t
apr_size_t apr_rmm_off_t
Definition
apr_rmm.h:43
membuf
apr_anylock_t void * membuf
Definition
apr_rmm.h:57
entity
void * entity
Definition
apr_rmm.h:95
reqsize
apr_size_t reqsize
Definition
apr_rmm.h:87
memsize
apr_anylock_t void apr_size_t memsize
Definition
apr_rmm.h:57
cont
apr_anylock_t void apr_size_t apr_pool_t * cont
Definition
apr_rmm.h:58
size
apr_size_t size
Definition
apr_allocator.h:115
apr_status_t
int apr_status_t
Definition
apr_errno.h:44
apr_anylock_t
Definition
apr_anylock.h:29
apr_pool_t
Definition
apr_pools.c:562
apr_rmm_t
Definition
apr_rmm.c:69
Generated by
1.9.8