summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-method.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-01-30 20:55:20 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-01-30 20:55:20 +0100
commit15d7e51550327bf49b95372f84bd0de4e896e7d7 (patch)
tree06e4ff4732fd8984da57a95c324f5109e47eb73d /apt-pkg/acquire-method.h
parentf814fbf4f2c78e3b9ceeeaba3cb93ed0ebbc7943 (diff)
[ABI break] merge support for http redirects, thanks to
Jeff Licquia and Anthony Towns
Diffstat (limited to 'apt-pkg/acquire-method.h')
-rw-r--r--apt-pkg/acquire-method.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h
index e02eab018..fab77e664 100644
--- a/apt-pkg/acquire-method.h
+++ b/apt-pkg/acquire-method.h
@@ -84,6 +84,8 @@ class pkgAcqMethod
void Log(const char *Format,...);
void Status(const char *Format,...);
+ void Redirect(const string &NewURI);
+
int Run(bool Single = false);
inline void SetFailExtraMsg(string Msg) {FailExtra = Msg;};