Apache HTTPD
apr_reslist.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_RESLIST_H
18#define APR_RESLIST_H
19
25#include "apr.h"
26#include "apu.h"
27#include "apr_pools.h"
28#include "apr_errno.h"
29#include "apr_time.h"
30
37#ifdef __cplusplus
38extern "C" {
39#endif /* __cplusplus */
40
43
44/* Generic constructor called by resource list when it needs to create a
45 * resource.
46 * @param resource opaque resource
47 * @param params flags
48 * @param pool Pool
49 */
52
53/* Generic destructor called by resource list when it needs to destroy a
54 * resource.
55 * @param resource opaque resource
56 * @param params flags
57 * @param pool Pool
58 */
61
62/* Cleanup order modes */
63#define APR_RESLIST_CLEANUP_DEFAULT 0
64#define APR_RESLIST_CLEANUP_FIRST 1
90 int min, int smax, int hmax,
94 void *params,
96
109
119 void **resource);
120
127 void *resource);
128
137
143
152 void *resource);
153
160
176
177#ifdef __cplusplus
178}
179#endif
180
183#endif /* ! APR_RESLIST_H */
APR Error Codes.
APR memory allocation.
APR Time Library.
int int int apr_interval_time_t apr_reslist_constructor apr_reslist_destructor void * params
Definition apr_reslist.h:94
apr_uint32_t mode
int min
Definition apr_reslist.h:90
apr_status_t(* apr_reslist_constructor)(void **resource, void *params, apr_pool_t *pool)
Definition apr_reslist.h:50
APU_DECLARE(void) apr_reslist_timeout_set(apr_reslist_t *reslist
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
Definition apr_sha1.c:206
int int int apr_interval_time_t apr_reslist_constructor con
Definition apr_reslist.h:92
int int smax
Definition apr_reslist.h:90
int int int apr_interval_time_t ttl
Definition apr_reslist.h:91
int int int apr_interval_time_t apr_reslist_constructor apr_reslist_destructor de
Definition apr_reslist.h:93
apr_status_t(* apr_reslist_destructor)(void *resource, void *params, apr_pool_t *pool)
Definition apr_reslist.h:59
void ** resource
int int int apr_interval_time_t apr_reslist_constructor apr_reslist_destructor void apr_pool_t * pool
Definition apr_reslist.h:95
int int int hmax
Definition apr_reslist.h:90
apr_size_t size
int apr_status_t
Definition apr_errno.h:44
apr_int64_t apr_interval_time_t
Definition apr_time.h:55
IN ULONG IN INT timeout