X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamc%2Fisamc-p.h;h=27c245494d87744d6572260802177d2c0e5064b0;hp=d9275b65e1f4edd90c95e5a4271a0c104bbf5c6c;hb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;hpb=084ad8d210469872bda11c201267a361ca295435 diff --git a/isamc/isamc-p.h b/isamc/isamc-p.h index d9275b6..27c2454 100644 --- a/isamc/isamc-p.h +++ b/isamc/isamc-p.h @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: isamc-p.h,v $ - * Revision 1.6 1998-03-18 09:23:55 adam + * Revision 1.7 1999-05-26 07:49:14 adam + * C++ compilation. + * + * Revision 1.6 1998/03/18 09:23:55 adam * Blocks are stored in chunks on free list - up to factor 2 in speed. * Fixed bug that could occur in block category rearrangemen. * @@ -29,6 +32,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { int lastblock; int freelist; @@ -90,3 +97,8 @@ int isc_alloc_block (ISAMC is, int cat); void isc_release_block (ISAMC is, int cat, int pos); int isc_read_block (ISAMC is, int cat, int pos, char *dst); int isc_write_block (ISAMC is, int cat, int pos, char *src); + +#ifdef __cplusplus +} +#endif +