sdbm_pair.h revision 285830
1157152Srwatson/* Licensed to the Apache Software Foundation (ASF) under one or more 2157152Srwatson * contributor license agreements. See the NOTICE file distributed with 3157152Srwatson * this work for additional information regarding copyright ownership. 4157152Srwatson * The ASF licenses this file to You under the Apache License, Version 2.0 5157152Srwatson * (the "License"); you may not use this file except in compliance with 6157152Srwatson * the License. You may obtain a copy of the License at 7157152Srwatson * 8204311Sru * http://www.apache.org/licenses/LICENSE-2.0 9157152Srwatson * 10160202Smaxim * Unless required by applicable law or agreed to in writing, software 11157152Srwatson * distributed under the License is distributed on an "AS IS" BASIS, 12157152Srwatson * 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 30int fitpair(char *, int); 31void putpair(char *, apr_sdbm_datum_t, apr_sdbm_datum_t); 32apr_sdbm_datum_t getpair(char *, apr_sdbm_datum_t); 33int delpair(char *, apr_sdbm_datum_t); 34int chkpage (char *); 35apr_sdbm_datum_t getnkey(char *, int); 36void splpage(char *, char *, long); 37int duppair(char *, apr_sdbm_datum_t); 38 39#endif /* SDBM_PAIR_H */ 40 41