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/edsp.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'apt-pkg/edsp.h') diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h index 3bcd695cd..434010dc4 100644 --- a/apt-pkg/edsp.h +++ b/apt-pkg/edsp.h @@ -49,7 +49,7 @@ namespace EDSP /*{{{*/ * * \return true if request was composed successfully, otherwise false */ - bool WriteRequest(pkgDepCache &Cache, FileFd &output, + APT_PUBLIC bool WriteRequest(pkgDepCache &Cache, FileFd &output, unsigned int const flags = 0, OpProgress *Progress = NULL); @@ -70,7 +70,7 @@ namespace EDSP /*{{{*/ * * \return true if universe was composed successfully, otherwise false */ - bool WriteScenario(pkgDepCache &Cache, FileFd &output, OpProgress *Progress = NULL); + APT_PUBLIC bool WriteScenario(pkgDepCache &Cache, FileFd &output, OpProgress *Progress = NULL); /** \brief creates a limited scenario representing the package universe * @@ -87,7 +87,7 @@ namespace EDSP /*{{{*/ * * \return true if universe was composed successfully, otherwise false */ - bool WriteLimitedScenario(pkgDepCache &Cache, FileFd &output, + APT_PUBLIC bool WriteLimitedScenario(pkgDepCache &Cache, FileFd &output, std::vector const &pkgset, OpProgress *Progress = NULL); @@ -105,7 +105,7 @@ namespace EDSP /*{{{*/ * * \return true if a solution is found and applied correctly, otherwise false */ - bool ReadResponse(int const input, pkgDepCache &Cache, OpProgress *Progress = NULL); + APT_PUBLIC bool ReadResponse(int const input, pkgDepCache &Cache, OpProgress *Progress = NULL); /** \brief search and read the request stanza for action later * @@ -123,7 +123,7 @@ namespace EDSP /*{{{*/ * * \return true if the request could be found and worked on, otherwise false */ - bool ReadRequest(int const input, std::list &install, + APT_PUBLIC bool ReadRequest(int const input, std::list &install, std::list &remove, unsigned int &flags); /** \brief takes the request lists and applies it on the cache @@ -138,7 +138,7 @@ namespace EDSP /*{{{*/ * * \return false if the request couldn't be applied, true otherwise */ - bool ApplyRequest(std::list const &install, + APT_PUBLIC bool ApplyRequest(std::list const &install, std::list const &remove, pkgDepCache &Cache); @@ -154,7 +154,7 @@ namespace EDSP /*{{{*/ * * \return true if stanza could be written, otherwise false */ - bool WriteSolutionStanza(FileFd &output, char const * const Type, pkgCache::VerIterator const &Ver); + APT_PUBLIC bool WriteSolutionStanza(FileFd &output, char const * const Type, pkgCache::VerIterator const &Ver); /** \brief sends a progress report * @@ -162,7 +162,7 @@ namespace EDSP /*{{{*/ * \param message the solver wants the user to see * \param output the front-end listens for progress report */ - bool WriteProgress(unsigned short const percent, const char* const message, FileFd &output); + APT_PUBLIC bool WriteProgress(unsigned short const percent, const char* const message, FileFd &output); /** \brief sends an error report * @@ -179,7 +179,7 @@ namespace EDSP /*{{{*/ * \param message is free form text to describe the error * \param output the front-end listens for error messages */ - bool WriteError(char const * const uuid, std::string const &message, FileFd &output); + APT_PUBLIC bool WriteError(char const * const uuid, std::string const &message, FileFd &output); /** \brief executes the given solver and returns the pipe ends @@ -193,7 +193,7 @@ namespace EDSP /*{{{*/ * * \return PID of the started solver or 0 if failure occurred */ - pid_t ExecuteSolver(const char* const solver, int * const solver_in, int * const solver_out, bool /*overload*/); + APT_PUBLIC pid_t ExecuteSolver(const char* const solver, int * const solver_in, int * const solver_out, bool /*overload*/); /** \brief call an external resolver to handle the request * @@ -207,7 +207,7 @@ namespace EDSP /*{{{*/ * \return true if the solver has successfully solved the problem, * otherwise false */ - bool ResolveExternal(const char* const solver, pkgDepCache &Cache, + APT_PUBLIC bool ResolveExternal(const char* const solver, pkgDepCache &Cache, unsigned int const flags = 0, OpProgress *Progress = NULL); } @@ -242,10 +242,10 @@ namespace EIPP /*{{{*/ REINSTALL, REMOVE }; - bool ReadRequest(int const input, + APT_PUBLIC bool ReadRequest(int const input, std::list> &actions, unsigned int &flags); - bool ApplyRequest(std::list> &actions, + APT_PUBLIC bool ApplyRequest(std::list> &actions, pkgDepCache &Cache); } /*}}}*/ -- cgit v1.2.3