Apache HTTPD
apr_dbm.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_DBM_H
18#define APR_DBM_H
19
20#include "apu.h"
21#include "apr.h"
22#include "apr_errno.h"
23#include "apr_pools.h"
24#include "apr_file_info.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
42typedef struct apr_dbm_t apr_dbm_t;
43
47typedef struct
48{
50 char *dptr;
54
55/* modes to open the DB */
56#define APR_DBM_READONLY 1
57#define APR_DBM_READWRITE 2
58#define APR_DBM_RWCREATE 3
59#define APR_DBM_RWTRUNC 4
90 const char *name,
93
94
114
120
137
145
152
159
166
173
200 const char *type,
201 const char *pathname,
202 const char **used1,
203 const char **used2);
204
218 const char *pathname,
219 const char **used1,
220 const char **used2);
221
223#ifdef __cplusplus
224}
225#endif
226
227#endif /* !APR_DBM_H */
APR Error Codes.
APR File Information.
APR memory allocation.
int * errcode
Definition apr_dbm.h:183
int char * errbuf
Definition apr_dbm.h:184
apr_datum_t * pkey
Definition apr_dbm.h:158
apr_datum_t apr_datum_t * pvalue
Definition apr_dbm.h:128
const char * type
Definition apr_dbm.h:89
const char const char apr_int32_t apr_fileperms_t apr_pool_t * cntxt
Definition apr_dbm.h:92
apr_datum_t data
Definition apr_dbm.h:172
const char const char apr_int32_t mode
Definition apr_dbm.h:91
int char apr_size_t errbufsize
Definition apr_dbm.h:184
const char const char apr_int32_t apr_fileperms_t perm
Definition apr_dbm.h:91
apr_datum_t key
Definition apr_dbm.h:127
APU_DECLARE(void) apr_dbm_close(apr_dbm_t *dbm)
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
Definition apr_sha1.c:206
const char const char const char const char ** used2
Definition apr_dbm.h:203
apr_datum_t apr_datum_t value
Definition apr_dbm.h:136
const char const char const char ** used1
Definition apr_dbm.h:202
const char const char * pathname
Definition apr_dbm.h:201
const char const char * name
Definition apr_dbm.h:90
apr_size_t size
const char int apr_pool_t * pool
Definition apr_cstr.h:84
int apr_status_t
Definition apr_errno.h:44
apr_int32_t apr_fileperms_t
apr_size_t dsize
Definition apr_dbm.h:52
char * dptr
Definition apr_dbm.h:50