summaryrefslogtreecommitdiff
path: root/methods/http_main.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-11-29 21:24:29 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-11-29 21:24:29 +0100
commit5f6b130d6342965bfa49beb9413bdf742440b8ab (patch)
tree6f2516220bbeb3eccdbf997120bf031e1f7714cb /methods/http_main.cc
parent65d71b381cc326bdf5310d8a2ea5b3f0d0307f63 (diff)
* prototype of mirror method added
Diffstat (limited to 'methods/http_main.cc')
-rw-r--r--methods/http_main.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/methods/http_main.cc b/methods/http_main.cc
new file mode 100644
index 000000000..2c46ab19d
--- /dev/null
+++ b/methods/http_main.cc
@@ -0,0 +1,15 @@
+#include <apt-pkg/fileutl.h>
+#include <apt-pkg/acquire-method.h>
+
+#include "connect.h"
+#include "rfc2553emu.h"
+#include "http.h"
+
+
+int main()
+{
+ setlocale(LC_ALL, "");
+
+ HttpMethod Mth;
+ return Mth.Loop();
+}