X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyaz%2Fyconfig.h;h=83f0b6c65e17912fd98e9000de20e32eaed18fa1;hb=HEAD;hp=59fa5ac55f4c46d21c7ea7da28f7121fac515cf5;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/include/yaz/yconfig.h b/include/yaz/yconfig.h index 59fa5ac..83f0b6c 100644 --- a/include/yaz/yconfig.h +++ b/include/yaz/yconfig.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data. + * Copyright (C) Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -39,7 +39,7 @@ # define YAZ_IMPORT __declspec(dllimport) # else # define YAZ_EXPORT -# define YAZ_IMPORT +# define YAZ_IMPORT # endif #endif @@ -53,10 +53,16 @@ #define YAZ_BEGIN_CDECL extern "C" { #define YAZ_END_CDECL } #else -#define YAZ_BEGIN_CDECL -#define YAZ_END_CDECL +#define YAZ_BEGIN_CDECL +#define YAZ_END_CDECL #endif +YAZ_BEGIN_CDECL +YAZ_EXPORT void yaz_init_globals(void); +YAZ_EXPORT void yaz_deinit_globals(void); + +YAZ_END_CDECL + #endif /* * Local variables: