r242 - in /apt-transport-debtorrent/trunk: apti18n.h connect.cc debtorrent.cc debtorrent.h
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Tue Aug 14 22:36:00 UTC 2007
Author: camrdale-guest
Date: Tue Aug 14 22:36:00 2007
New Revision: 242
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=242
Log:
A working debtorrent method that just uses HTTP.
Modified:
apt-transport-debtorrent/trunk/apti18n.h
apt-transport-debtorrent/trunk/connect.cc
apt-transport-debtorrent/trunk/debtorrent.cc
apt-transport-debtorrent/trunk/debtorrent.h
Modified: apt-transport-debtorrent/trunk/apti18n.h
URL: http://svn.debian.org/wsvn/debtorrent/apt-transport-debtorrent/trunk/apti18n.h?rev=242&op=diff
==============================================================================
--- apt-transport-debtorrent/trunk/apti18n.h (original)
+++ apt-transport-debtorrent/trunk/apti18n.h Tue Aug 14 22:36:00 2007
@@ -1,10 +1,11 @@
+/* include/apti18n.h. Generated from apti18n.h.in by configure. */
// -*- mode: cpp; mode: fold -*-
// $Id: apti18n.h.in,v 1.6 2003/01/11 07:18:18 jgg Exp $
/* Internationalization macros for apt. This header should be included last
in each C file. */
// Set by autoconf
-#undef USE_NLS
+#define USE_NLS 1
#ifdef USE_NLS
// apt will use the gettext implementation of the C library
Modified: apt-transport-debtorrent/trunk/connect.cc
URL: http://svn.debian.org/wsvn/debtorrent/apt-transport-debtorrent/trunk/connect.cc?rev=242&op=diff
==============================================================================
--- apt-transport-debtorrent/trunk/connect.cc (original)
+++ apt-transport-debtorrent/trunk/connect.cc Tue Aug 14 22:36:00 2007
@@ -26,7 +26,7 @@
#include <netdb.h>
#include "rfc2553emu.h"
-#include <apti18n.h>
+#include "apti18n.h"
/*}}}*/
static string LastHost;
Modified: apt-transport-debtorrent/trunk/debtorrent.cc
URL: http://svn.debian.org/wsvn/debtorrent/apt-transport-debtorrent/trunk/debtorrent.cc?rev=242&op=diff
==============================================================================
--- apt-transport-debtorrent/trunk/debtorrent.cc (original)
+++ apt-transport-debtorrent/trunk/debtorrent.cc Tue Aug 14 22:36:00 2007
@@ -39,15 +39,14 @@
#include <errno.h>
#include <string.h>
#include <iostream>
-#include <apti18n.h>
+#include "apti18n.h"
// Internet stuff
#include <netdb.h>
-#include "config.h"
#include "connect.h"
#include "rfc2553emu.h"
-#include "http.h"
+#include "debtorrent.h"
/*}}}*/
using namespace std;
Modified: apt-transport-debtorrent/trunk/debtorrent.h
URL: http://svn.debian.org/wsvn/debtorrent/apt-transport-debtorrent/trunk/debtorrent.h?rev=242&op=diff
==============================================================================
--- apt-transport-debtorrent/trunk/debtorrent.h (original)
+++ apt-transport-debtorrent/trunk/debtorrent.h Tue Aug 14 22:36:00 2007
@@ -8,10 +8,11 @@
##################################################################### */
/*}}}*/
-#ifndef APT_HTTP_H
-#define APT_HTTP_H
+#ifndef APT_DEBTORRENT_H
+#define APT_DEBTORRENT_H
#define MAXLEN 360
+#define VERSION "0.1"
#include <iostream>
More information about the Debtorrent-commits
mailing list