Minor.
[idzebra-moved-to-github.git] / include / isamd.h
index cf3c0cc..3228ad3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995-1997, Index Data.
+ * Copyright (c) 1995-2000, Index Data.
  * See the file LICENSE for details.
  *
  * IsamH is a simple ISAM that can only append to the end of the list.
@@ -17,9 +17,7 @@
 
 #include <bfile.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
 
 typedef struct ISAMD_s *ISAMD;
 typedef int ISAMD_P;
@@ -62,6 +60,7 @@ ISAMD_P isamd_append (ISAMD is, ISAMD_P pos, ISAMD_I data);
 ISAMD_PP isamd_pp_open (ISAMD is, ISAMD_P pos);
 void isamd_pp_close (ISAMD_PP pp);
 int isamd_read_item (ISAMD_PP pp, char **dst);
+int isamd_read_main_item (ISAMD_PP pp, char **dst);
 int isamd_pp_read (ISAMD_PP pp, void *buf);
 int isamd_pp_num (ISAMD_PP pp);
 
@@ -76,15 +75,19 @@ int isamd_block_size (ISAMD is, int type);
 void isamd_buildfirstblock(ISAMD_PP pp);
 void isamd_buildlaterblock(ISAMD_PP pp);
 
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
 
 #endif  /* ISAMD_H */
 
 
 /*
  * $Log: isamd.h,v $
+ * Revision 1.3  1999/08/18 08:33:41  heikki
+ * Fixes
+ *
+ * Revision 1.2  1999/07/14 13:21:34  heikki
+ * Added isam-d files. Compiles (almost) clean. Doesn't work at all
+ *
  * Revision 1.1  1999/07/14 12:34:43  heikki
  * Copied from isamh, starting to change things...
  *