torrentd

simple torrent daemon
git clone git@git.2f30.org/torrentd.git
Log | Files | Refs | LICENSE

commit d1e91a3f8e8a4dab8a6f09762aeff507664a1f47
parent a09d83602538a22301adeee2707b9c7dd7e60a64
Author: sin <sin@2f30.org>
Date:   Thu, 17 Dec 2015 16:53:05 +0000

Add torrent.c

Diffstat:
MMakefile | 1+
Atorrent.c | 15+++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -11,6 +11,7 @@ OBJ =\ sbtd.o\ sha1.o\ sock.o\ + torrent.o\ tracker.o\ util.o diff --git a/torrent.c b/torrent.c @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2015 Dimitris Papastamos <sin@2f30.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */