all: $(LIB)
+test: test.c $(LIB)
+ $(CC) -g -o test -I../include test.c \
+ ../lib/isam.a ../lib/bfile.a ../lib/util.a
+
isam-test: isam-test.c $(LIB)
$(CC) -g -o isam-test -I../include isam-test.c \
../lib/isam.a ../lib/bfile.a ../lib/util.a
* 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.3 1994-09-26 17:06:35 quinn
+ * Back again...
*
* Revision 1.1 1994/09/12 08:02:13 quinn
* Not functional yet
#include <ctype.h>
#include <util.h>
-#include "isutil.h"
-#include "rootblk.h"
#include <bfile.h>
#include <isam.h>
#include <common.h>
-#include "memory.h"
+#include "isutil.h"
+#include "rootblk.h"
+#include <ismemory.h>
#include "physical.h"
#include "keyops.h"
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);
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: memory.c,v $
- * Revision 1.1 1994-09-26 16:07:56 quinn
+ * Revision 1.2 1994-09-26 17:06:35 quinn
+ * Back again...
+ *
+ * Revision 1.1 1994/09/26 16:07:56 quinn
* Most of the functionality in place.
*
*/
#include <assert.h>
#include <util.h>
-#include "memory.h"
+#include <ismemory.h>
#include "physical.h"
#include <isam.h>
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: physical.c,v $
- * Revision 1.1 1994-09-26 16:07:57 quinn
+ * Revision 1.2 1994-09-26 17:06:36 quinn
+ * Back again...
+ *
+ * Revision 1.1 1994/09/26 16:07:57 quinn
* Most of the functionality in place.
*
*/
#include <assert.h>
#include <isam.h>
-#include "memory.h"
+#include <ismemory.h>
static int is_freestore_alloc(ISAM is, int type)
{
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: physical.h,v $
- * Revision 1.1 1994-09-26 16:07:59 quinn
+ * Revision 1.2 1994-09-26 17:06:37 quinn
+ * Back again...
+ *
+ * Revision 1.1 1994/09/26 16:07:59 quinn
* Most of the functionality in place.
*
*/
#ifndef PHYSICAL_H
#define PHYSICAL_H
+#include <ismemory.h>
+
void is_p_sync(is_mtable *tab);
void is_p_unmap(is_mtable *tab);
void is_p_align(is_mtable *tab);