The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort are missing the NATS_EXTERN declaration, so these functions are not available when using the Windows DLL
Expected behavior
The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort should be exported to the Windows DLL.
Server and client version
n/a, latest version of the nats.c repository
Host environment
building on Windows 10, using Visual Studio 2019 and CMake 3.25
Steps to reproduce
Checkout and build the nats.c library on Windows, e.g.
Examine build\src\Debug\natsd.dll in a dependency viewer, e.g. https://github.com/lucasg/Dependencies. The functions natsConnection_IsDraining and natsConnection_GetLocalIPAndPort are not exported.
Observed behavior
The functions
natsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
are missing theNATS_EXTERN
declaration, so these functions are not available when using the Windows DLLExpected behavior
The functions
natsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
should be exported to the Windows DLL.Server and client version
n/a, latest version of the nats.c repository
Host environment
building on Windows 10, using Visual Studio 2019 and CMake 3.25
Steps to reproduce
Checkout and build the nats.c library on Windows, e.g.
Examine
build\src\Debug\natsd.dll
in a dependency viewer, e.g. https://github.com/lucasg/Dependencies. The functionsnatsConnection_IsDraining
andnatsConnection_GetLocalIPAndPort
are not exported.