Annotation of parser3/src/lib/sdbm/sdbm_pair.h, revision 1.3
1.3 ! moko 1: /* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
! 2: * applicable.
1.1 paf 3: *
1.3 ! moko 4: * Licensed under the Apache License, Version 2.0 (the "License");
! 5: * you may not use this file except in compliance with the License.
! 6: * 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.
1.1 paf 15: */
16:
17: #ifndef SDBM_PAIR_H
18: #define SDBM_PAIR_H
19:
20: /* Mini EMBED (pair.c) */
1.3 ! moko 21: #define chkpage pa_sdbm_chkpage
! 22: #define delpair pa_sdbm_delpair
! 23: #define duppair pa_sdbm_duppair
! 24: #define fitpair pa_sdbm_fitpair
! 25: #define getnkey pa_sdbm_getnkey
! 26: #define getpair pa_sdbm_getpair
! 27: #define putpair pa_sdbm_putpair
! 28: #define splpage pa_sdbm_splpage
1.1 paf 29:
30: int fitpair(char *, int);
1.2 moko 31: void putpair(char *, pa_sdbm_datum_t, pa_sdbm_datum_t);
32: pa_sdbm_datum_t getpair(char *, pa_sdbm_datum_t);
33: int delpair(char *, pa_sdbm_datum_t);
1.1 paf 34: int chkpage (char *);
1.2 moko 35: pa_sdbm_datum_t getnkey(char *, int);
1.1 paf 36: void splpage(char *, char *, long);
1.2 moko 37: int duppair(char *, pa_sdbm_datum_t);
1.1 paf 38:
39: #endif /* SDBM_PAIR_H */
40:
E-mail: