Added isam-d files. Compiles (almost) clean. Doesn't work at all
[idzebra-moved-to-github.git] / isamc / merge-d.c
1 /*
2  * Copyright (c) 1996-1998, Index Data.
3  * See the file LICENSE for details.
4  * Heikki Levanto
5  *
6  * merge-d.c: merge routines for isamd
7  *
8  */
9
10 #include <stdlib.h>
11 #include <assert.h>
12 #include <string.h>
13 #include <stdio.h>
14 #include <log.h>
15 #include "isamd-p.h"
16
17
18 static char *hexdump(unsigned char *p, int len, char *buff) {
19   static char localbuff[128];
20   char bytebuff[8];
21   if (!buff) buff=localbuff;
22   *buff='\0';
23   while (len--) {
24     sprintf(bytebuff,"%02x",*p);
25     p++;
26     strcat(buff,bytebuff);
27     if (len) strcat(buff,",");
28   }
29   return buff;
30 }
31
32
33 /* isamd - heikki's append-only isam 
34 */
35
36
37
38 ISAMD_P isamd_append (ISAMD is, ISAMD_P ipos, ISAMD_I data)
39 {
40     
41 } /*  isamh_append */
42
43
44 /*
45  * $Log: merge-d.c,v $
46  * Revision 1.1  1999-07-14 13:14:47  heikki
47  * Created empty
48  *
49  *
50  */
51
52