X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-dia.h;h=28a07eceb9220ba2fcaa0e937c2dd41dde01c4f7;hb=23cfa431fda52535722e4efdc3f462995937e863;hp=356afd14aae1e55517ed954ad9764a7eb3e367b4;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc;p=yaz-moved-to-github.git diff --git a/include/prt-dia.h b/include/prt-dia.h index 356afd1..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; @@ -150,12 +154,6 @@ typedef struct Z_Scan } u; } Z_Scan; -typedef struct Z_StringList -{ - int num_strings; - char **strings; -} Z_StringList; - typedef struct Z_Sort { int which; @@ -179,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 @@ -328,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