Possible compatibility problems with earlier versions marked with '*'.
+Added missing C decl macros for include/yaz/{soap.h,srw.h}, so that
+functions from there can be used from C++.
+
--- 2.0.6 2003/12/04
Frontend server now transfers memory from decoded packages to stream
* Copyright (c) 2002-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: soap.h,v 1.4 2003-03-24 22:26:50 adam Exp $
+ * $Id: soap.h,v 1.5 2003-12-09 12:51:16 adam Exp $
*/
#ifndef YAZ_SOAP_H
#include <yaz/odr.h>
+YAZ_BEGIN_CDECL
+
typedef struct {
char *fault_code;
char *fault_string;
const char *fault_code, const char *fault_string,
const char *details);
+YAZ_END_CDECL
#endif
* Copyright (c) 2002-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.h,v 1.7 2003-03-23 20:27:16 adam Exp $
+ * $Id: srw.h,v 1.8 2003-12-09 12:51:16 adam Exp $
*/
#ifndef YAZ_SRW_H
#include <yaz/soap.h>
+YAZ_BEGIN_CDECL
+
typedef struct {
char *recordSchema;
int recordPacking;
YAZ_EXPORT int yaz_diag_srw_to_bib1(int srw_code);
+YAZ_END_CDECL
#endif