diff --git a/test/dht_server.hpp b/test/dht_server.hpp index 7214d30fb..3c5484aaa 100644 --- a/test/dht_server.hpp +++ b/test/dht_server.hpp @@ -30,11 +30,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include "test.hpp" // for EXPORT + // returns the port the DHT is running on -int start_dht(); +int EXPORT start_dht(); // the number of DHT messages received -int num_dht_hits(); +int EXPORT num_dht_hits(); -void stop_dht(); +void EXPORT stop_dht(); diff --git a/test/peer_server.hpp b/test/peer_server.hpp index b6d4dcc0e..3e5e28534 100644 --- a/test/peer_server.hpp +++ b/test/peer_server.hpp @@ -30,11 +30,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include "test.hpp" // for EXPORT + // returns the port the peer is running on -int start_peer(); +int EXPORT start_peer(); // the number of incoming connections to this peer -int num_peer_hits(); +int EXPORT num_peer_hits(); -void stop_peer(); +void EXPORT stop_peer();