Update copyright year + FSF address
[idzebra-moved-to-github.git] / include / idzebra / isamc.h
index ccb5644..69d15cf 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: isamc.h,v 1.3 2005-04-13 13:03:47 adam Exp $
-   Copyright (C) 1995-2005
+/* $Id: isamc.h,v 1.6 2006-08-14 10:40:14 adam Exp $
+   Copyright (C) 1995-2006
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #ifndef ISAMC_H
@@ -57,20 +57,37 @@ typedef struct ISAMC_I_s {
     void *clientData;
 } ISAMC_I;
 
+YAZ_EXPORT
 void isamc_getmethod (ISAMC_M *m);
 
+YAZ_EXPORT
 ISAMC isamc_open (BFiles bfs, const char *name, int writeflag,
                  ISAMC_M *method);
+YAZ_EXPORT
 int isamc_close (ISAMC is);
+
+YAZ_EXPORT
 void isamc_merge (ISAMC is, ISAM_P *pos, ISAMC_I *data);
 
+YAZ_EXPORT
 ISAMC_PP isamc_pp_open (ISAMC is, ISAM_P pos);
+
+YAZ_EXPORT
 void isamc_pp_close (ISAMC_PP pp);
+
+YAZ_EXPORT
 int isamc_read_item (ISAMC_PP pp, char **dst);
+
+YAZ_EXPORT
 int isamc_pp_read (ISAMC_PP pp, void *buf);
+
+YAZ_EXPORT
 zint isamc_pp_num (ISAMC_PP pp);
 
+YAZ_EXPORT
 zint isamc_block_used (ISAMC is, int type);
+
+YAZ_EXPORT
 int isamc_block_size (ISAMC is, int type);
 
 #define isamc_type(x) ((x) & 7)
@@ -79,3 +96,11 @@ int isamc_block_size (ISAMC is, int type);
 YAZ_END_CDECL
 
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+