]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/apr-util/dbm/sdbm/sdbm_pair.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / apr-util / dbm / sdbm / sdbm_pair.h
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 SDBM_PAIR_H
18 #define SDBM_PAIR_H
19
20 /* Mini EMBED (pair.c) */
21 #define chkpage apu__sdbm_chkpage
22 #define delpair apu__sdbm_delpair
23 #define duppair apu__sdbm_duppair
24 #define fitpair apu__sdbm_fitpair
25 #define getnkey apu__sdbm_getnkey
26 #define getpair apu__sdbm_getpair
27 #define putpair apu__sdbm_putpair
28 #define splpage apu__sdbm_splpage
29
30 int fitpair(char *, int);
31 void  putpair(char *, apr_sdbm_datum_t, apr_sdbm_datum_t);
32 apr_sdbm_datum_t getpair(char *, apr_sdbm_datum_t);
33 int  delpair(char *, apr_sdbm_datum_t);
34 int  chkpage (char *);
35 apr_sdbm_datum_t getnkey(char *, int);
36 void splpage(char *, char *, long);
37 int duppair(char *, apr_sdbm_datum_t);
38
39 #endif /* SDBM_PAIR_H */
40