2 * Copyright (C) 1995, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.5 1995-09-04 12:33:42 adam
8 * Various cleanup. YAZ util used instead.
10 * Revision 1.4 1995/09/04 09:10:35 adam
11 * More work on index add/del/update.
12 * Merge sort implemented.
13 * Initial work on z39 server.
15 * Revision 1.3 1995/09/01 14:06:35 adam
16 * Split of work into more files.
18 * Revision 1.2 1995/09/01 10:30:24 adam
19 * More work on indexing. Not working yet.
21 * Revision 1.1 1995/08/31 14:50:24 adam
22 * New simple file index tool.
40 struct dir_entry *dir_open (const char *rep);
41 void dir_sort (struct dir_entry *e);
42 void dir_free (struct dir_entry **e_p);
43 void repository (int cmd, const char *rep, const char *base_path);
45 void file_extract (int cmd, const char *fname, const char *kname);
47 void key_open (const char *fname);
49 void key_flush (void);
50 void key_write (int cmd, struct it_key *k, const char *str);
51 int key_compare (const void *p1, const void *p2);
52 int key_compare_x (const struct it_key *i1, const struct it_key *i2);
53 void key_input (const char *dict_fname, const char *isam_fname,
54 const char *key_fname, int cache);
55 int key_sort (const char *key_fname, size_t mem);