From db678df196ccd8f9f6fb336706cf5701d1e53aa6 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 13 Aug 2019 19:15:19 +0200 Subject: apt-pkg: default visibility to hidden --- apt-pkg/contrib/srvrec.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apt-pkg/contrib/srvrec.h') diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h index e22b7a1c6..e5d0f43a3 100644 --- a/apt-pkg/contrib/srvrec.h +++ b/apt-pkg/contrib/srvrec.h @@ -13,7 +13,9 @@ #include #include -class SrvRec +#include + +class APT_PUBLIC SrvRec { public: std::string target; @@ -40,15 +42,15 @@ class SrvRec /** \brief Get SRV records from host/port (builds the query string internally) */ -bool GetSrvRecords(std::string name, std::vector &Result); +APT_PUBLIC bool GetSrvRecords(std::string name, std::vector &Result); /** \brief Get SRV records for query string like: _http._tcp.example.com */ -bool GetSrvRecords(std::string host, int port, std::vector &Result); +APT_PUBLIC bool GetSrvRecords(std::string host, int port, std::vector &Result); /** \brief Pop a single SRV record from the vector of SrvRec taking * priority and weight into account */ -SrvRec PopFromSrvRecs(std::vector &Recs); +APT_PUBLIC SrvRec PopFromSrvRecs(std::vector &Recs); #endif -- cgit v1.2.3