X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=isam%2Fisam.c;h=2f58aa175bbcdbe511485f4eedc88efd9dca79d8;hb=5bcaf79fcb3264b26d896eb2bdda907cf9fb9f5f;hp=ad2f90c5652de847fa0d5d2b7f56c3b336c6af05;hpb=c6c40893444f2288cdea91d30dd92df0f285e67d;p=idzebra-moved-to-github.git diff --git a/isam/isam.c b/isam/isam.c index ad2f90c..2f58aa1 100644 --- a/isam/isam.c +++ b/isam/isam.c @@ -4,8 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: isam.c,v $ - * Revision 1.2 1994-09-26 16:07:53 quinn - * Most of the functionality in place. + * Revision 1.4 1994-09-26 17:11:29 quinn + * Trivial + * + * Revision 1.3 1994/09/26 17:06:35 quinn + * Back again... * * Revision 1.1 1994/09/12 08:02:13 quinn * Not functional yet @@ -17,11 +20,11 @@ #include #include -#include "isutil.h" -#include "rootblk.h" #include #include #include +#include "isutil.h" +#include "rootblk.h" #include "memory.h" #include "physical.h" #include "keyops.h" @@ -345,3 +348,14 @@ ISAM_P is_merge(ISAM is, ISAM_P pos, int num, const char *data) is_p_sync(&tab); return is_address(tab.pos_type, tab.data->diskpos); } + +/* + * Locate a table of keys in an isam file. The ISPT is an individual + * position marker for that table. + */ +ISPT is_position(ISAM is, ISAM_P pos); + +/* + * Release ISPT. + */ +void is_pt_free(ISPT ip);