X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=6ac14c241c18e94ebc99170d74d22f08c99ad415;hb=2c7c2ca460fee75f3bebc0479b9787f0c401db03;hp=be0b60523933415aef8afbfaa4981ced4c8fb572;hpb=eb4e33573a00795f2b1c0dfebb51ab59ffd5a0d9;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index be0b605..6ac14c2 100644 --- a/index/index.h +++ b/index/index.h @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: index.h,v $ - * Revision 1.14 1995-09-29 14:01:40 adam + * Revision 1.17 1995-10-13 16:01:49 adam + * Work on relations. + * + * Revision 1.16 1995/10/10 12:24:38 adam + * Temporary sort files are compressed. + * + * Revision 1.15 1995/10/04 16:57:19 adam + * Key input and merge sort in one pass. + * + * Revision 1.14 1995/09/29 14:01:40 adam * Bug fixes. * * Revision 1.13 1995/09/28 14:22:56 adam @@ -60,8 +69,8 @@ #define IT_KEY_HAVE_FIELD 0 struct it_key { - int sysno : 24; - int seqno : 16; + int sysno; + int seqno; }; struct dir_entry { @@ -81,8 +90,8 @@ void key_write (int cmd, struct it_key *k, const char *str); int key_compare (const void *p1, const void *p2); int key_qsort_compare (const void *p1, const void *p2); void key_logdump (int mask, const void *p); -void key_input (const char *dict_fname, const char *isam_fname, - const char *key_fname, int cache); +void key_input (const char *dict_fname, const char *isam_fname, + int nkeys, int cache); int merge_sort (char **buf, int from, int to); #define TEMP_FNAME "keys%d.tmp"