X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fcomstack.h;fp=include%2Fcomstack.h;h=ef2c1dd4ed2a111f7b8d2f82e13f897cccecaaf0;hp=ee8ebd71aa8f84dbf435c4c31ae43a7af101524e;hb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;hpb=6438b1afb3455d2b0aba71e90c873e3b8a6d5e54 diff --git a/include/comstack.h b/include/comstack.h index ee8ebd7..ef2c1dd 100644 --- a/include/comstack.h +++ b/include/comstack.h @@ -24,7 +24,11 @@ * OF THIS SOFTWARE. * * $Log: comstack.h,v $ - * Revision 1.16 1997-05-14 06:53:37 adam + * Revision 1.17 1997-09-01 08:49:47 adam + * New windows NT/95 port using MSV5.0. To export DLL functions the + * YAZ_EXPORT modifier was added. Defined in yconfig.h. + * + * Revision 1.16 1997/05/14 06:53:37 adam * C++ support. * * Revision 1.15 1996/07/06 19:58:32 quinn @@ -188,8 +192,8 @@ struct comstack #define cs_getproto(handle) ((handle)->protocol) #define cs_addrstr(handle) ((*(handle)->f_addrstr)(handle)) -const char *cs_strerror(COMSTACK h); -const char *cs_errmsg(int n); +YAZ_EXPORT const char *cs_strerror(COMSTACK h); +YAZ_EXPORT const char *cs_errmsg(int n); /* * error management. @@ -201,7 +205,7 @@ const char *cs_errmsg(int n); #define CSNODATA 3 #define CSWRONGBUF 4 -extern char *cs_errlist[]; +extern const char *cs_errlist[]; /* backwards compatibility */ #define CS_SR PROTO_SR