X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-dia.h;h=a69366514f6d318db9261c1376ee657e411c023f;hb=4e664c278636002a3a0c7897d233a258ac1ec18d;hp=a7e80d2f2ced59634a7a10c2502dd89a4cf35004;hpb=4324da797a51137daa4d7e2d665df2ff82ce8c66;p=yaz-moved-to-github.git diff --git a/include/prt-dia.h b/include/prt-dia.h index a7e80d2..a693665 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,11 @@ 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, + const char *name); + +#ifdef __cplusplus +} +#endif #endif