X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-dia.h;h=28a07eceb9220ba2fcaa0e937c2dd41dde01c4f7;hb=23cfa431fda52535722e4efdc3f462995937e863;hp=a7e80d2f2ced59634a7a10c2502dd89a4cf35004;hpb=4324da797a51137daa4d7e2d665df2ff82ce8c66;p=yaz-moved-to-github.git diff --git a/include/prt-dia.h b/include/prt-dia.h index a7e80d2..28a07ec 100644 --- a/include/prt-dia.h +++ b/include/prt-dia.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1998, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -30,6 +30,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Z_TooMany { int *tooManyWhat; @@ -173,9 +177,6 @@ typedef struct Z_Sort Odr_null *incompatible; Odr_null *generic; Odr_null *dbSpecific; -#if 0 - Z_SortElement *sortElement; -#endif int *key; #define Z_SortKey_tooMany 1 #define Z_SortKey_duplicate 2 @@ -322,6 +323,10 @@ typedef struct Z_DiagnosticFormat Z_DiagnosticUnit **diagnostics; } Z_DiagnosticFormat; -int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt); +YAZ_EXPORT int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt); + +#ifdef __cplusplus +} +#endif #endif