summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-13 19:15:19 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 20:34:54 +0100
commitdb678df196ccd8f9f6fb336706cf5701d1e53aa6 (patch)
treea7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/edsp.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
apt-pkg: default visibility to hidden
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r--apt-pkg/edsp.h26
1 files changed, 13 insertions, 13 deletions
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<bool> 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<std::string> &install,
+ APT_PUBLIC bool ReadRequest(int const input, std::list<std::string> &install,
std::list<std::string> &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<std::string> const &install,
+ APT_PUBLIC bool ApplyRequest(std::list<std::string> const &install,
std::list<std::string> 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<std::pair<std::string,PKG_ACTION>> &actions,
unsigned int &flags);
- bool ApplyRequest(std::list<std::pair<std::string,PKG_ACTION>> &actions,
+ APT_PUBLIC bool ApplyRequest(std::list<std::pair<std::string,PKG_ACTION>> &actions,
pkgDepCache &Cache);
}
/*}}}*/