projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is realloc, not reallocf: be more careful :/.
[apt.git]
/
apt-pkg
/
acquire.h
diff --git
a/apt-pkg/acquire.h
b/apt-pkg/acquire.h
index f4019d556000a5d60410b16d8a313a10a1b46397..1fae662f80685ec232d7334e8e5b5736dacbb450 100644
(file)
--- a/
apt-pkg/acquire.h
+++ b/
apt-pkg/acquire.h
@@
-364,7
+364,7
@@
class pkgAcquire
* if no lock file should be used. If set also all needed directories
* will be created.
*/
* if no lock file should be used. If set also all needed directories
* will be created.
*/
- APT_DEPRECATED bool Setup(pkgAcquireStatus *Progress = NULL, std::string const &Lock = "");
+ APT_DEPRECATED
_MSG("Use constructors, .SetLog and .GetLock as needed")
bool Setup(pkgAcquireStatus *Progress = NULL, std::string const &Lock = "");
void SetLog(pkgAcquireStatus *Progress) { Log = Progress; }
void SetLog(pkgAcquireStatus *Progress) { Log = Progress; }
@@
-464,6
+464,8
@@
class pkgAcquire::Queue
/** @return the custom headers to use for this item */
std::string Custom600Headers() const;
/** @return the custom headers to use for this item */
std::string Custom600Headers() const;
+ /** @return the maximum priority of this item */
+ int APT_HIDDEN GetPriority() const;
};
/** \brief The name of this queue. */
};
/** \brief The name of this queue. */