code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/http_connection.cpp | C++ | bsd | 24,926 |
/*
Copyright (c) 2003-2012, Arvid Norberg
Copyright (c) 2007-2012, Arvid Norberg, Un Shyam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above cop... | zxw315-libtorrent | src/bt_peer_connection.cpp | C++ | bsd | 88,710 |
/*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/http_parser.cpp | C++ | bsd | 14,819 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/http_stream.cpp | C++ | bsd | 4,537 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/smart_ban.cpp | C++ | bsd | 11,536 |
/*
Copyright (c) 2009-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/utp_socket_manager.cpp | C++ | bsd | 12,307 |
/*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/rss.cpp | C++ | bsd | 17,967 |
/*
Copyright (c) 2009-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/time.cpp | C++ | bsd | 6,576 |
/*
Copyright (c) 2011-2012, Arvid Norberg, Magnus Jonsson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of... | zxw315-libtorrent | src/rsa.cpp | C++ | bsd | 4,100 |
/*
* puff.c
* Copyright (C) 2002, 2003 Mark Adler
* For conditions of distribution and use, see copyright notice in puff.h
* version 1.7, 3 Mar 2003
*
* puff.c is a simple inflate written to be an unambiguous way to specify the
* deflate format. It is not written for speed but rather simplicity. As a
* side b... | zxw315-libtorrent | src/puff.cpp | C++ | bsd | 37,337 |
/*
Copyright (c) 2003-2012, Arvid Norberg, Daniel Wallin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of ... | zxw315-libtorrent | src/alert.cpp | C++ | bsd | 16,809 |
/*
Copyright (c) 2009-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/timestamp_history.cpp | C++ | bsd | 3,245 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/assert.cpp | C++ | bsd | 6,633 |
lib_LTLIBRARIES = libtorrent-rasterbar.la
if ENABLE_DHT
KADEMLIA_SOURCES = \
kademlia/dht_tracker.cpp \
kademlia/find_data.cpp \
kademlia/node.cpp \
kademlia/node_id.cpp \
kademlia/refresh.cpp \
kademlia/routing_table.cpp \
kademlia/rpc_manager.cpp \
ka... | zxw315-libtorrent | src/Makefile.am | Makefile | bsd | 4,300 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/natpmp.cpp | C++ | bsd | 18,453 |
/*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/settings.cpp | C++ | bsd | 4,573 |
/*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/lt_trackers.cpp | C++ | bsd | 9,702 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/torrent.cpp | C++ | bsd | 260,699 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/web_connection_base.cpp | C++ | bsd | 5,819 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/file.cpp | C++ | bsd | 51,555 |
/*
Copyright (c) 2009-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/socket_io.cpp | C++ | bsd | 3,088 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/tracker_manager.cpp | C++ | bsd | 9,587 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/peer_connection.cpp | C++ | bsd | 171,481 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/kademlia/node_id.cpp | C++ | bsd | 4,860 |
/*
Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of... | zxw315-libtorrent | src/kademlia/find_data.cpp | C++ | bsd | 7,277 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/kademlia/dht_tracker.cpp | C++ | bsd | 18,810 |
/*
Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of... | zxw315-libtorrent | src/kademlia/traversal_algorithm.cpp | C++ | bsd | 11,181 |
/*
Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of... | zxw315-libtorrent | src/kademlia/refresh.cpp | C++ | bsd | 3,315 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/kademlia/node.cpp | C++ | bsd | 28,995 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/kademlia/rpc_manager.cpp | C++ | bsd | 12,928 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/kademlia/routing_table.cpp | C++ | bsd | 26,244 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/file_pool.cpp | C++ | bsd | 7,826 |
// builds all boost.asio source as a separate compilation unit
#include <boost/version.hpp>
#ifndef BOOST_ASIO_SOURCE
#define BOOST_ASIO_SOURCE
#endif
#if _MSC_VER > 1310 && defined TORRENT_NO_BOOST_DATE_TIME
// on windows; including timer_queue.hpp results in an
// actual link-time dependency on boost.date_time, ev... | zxw315-libtorrent | src/asio.cpp | C++ | bsd | 3,656 |
/*
Copyright (c) 2006-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/logger.cpp | C++ | bsd | 6,109 |
/*
Copyright (c) 2009-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/socket_type.cpp | C++ | bsd | 9,267 |
/*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/lazy_bdecode.cpp | C++ | bsd | 14,870 |
/*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/packet_buffer.cpp | C++ | bsd | 5,570 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
/* GeoIP.c
*
* Copyright (C) 2006 MaxMind LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
*... | zxw315-libtorrent | src/GeoIP.c | C | bsd | 36,330 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/instantiate_connection.cpp | C++ | bsd | 4,141 |
// builds all boost.asio SSL source as a separate compilation unit
#include <boost/version.hpp>
#if BOOST_VERSION >= 104610
#include <boost/asio/ssl/impl/src.hpp>
#endif
| zxw315-libtorrent | src/asio_ssl.cpp | C++ | bsd | 172 |
/*
Copyright (c) 2011-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/random.cpp | C++ | bsd | 2,046 |
/*
SHA-1 C++ conversion
original version:
SHA-1 in C
By Steve Reid <sreid@sea-to-sky.net>
100% Public Domain
changelog at the end of the file.
*/
#include "libtorrent/pch.hpp"
#include <cstdio>
#include <cstring>
// if you don't want boost
// replace with
// #include <stdint.h>
// typedef uint32_t u32;
// typedef... | zxw315-libtorrent | src/sha1.cpp | C++ | bsd | 9,601 |
/*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/bloom_filter.cpp | C++ | bsd | 2,767 |
/*
Copyright (c) 2006-2012, Arvid Norberg, Magnus Jonsson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of... | zxw315-libtorrent | src/session.cpp | C++ | bsd | 34,470 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/web_peer_connection.cpp | C++ | bsd | 30,715 |
/*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/error_code.cpp | C++ | bsd | 9,103 |
/*
Copyright (c) 2003-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/udp_tracker_connection.cpp | C++ | bsd | 20,521 |
/*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/thread.cpp | C++ | bsd | 3,415 |
/* Start: bn_error.c */
#include "libtorrent/tommath.h"
#ifdef BN_ERROR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MP... | zxw315-libtorrent | src/mpi.c | C | bsd | 239,924 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/connection_queue.cpp | C++ | bsd | 9,053 |
/*
Copyright (c) 2007-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/udp_socket.cpp | C++ | bsd | 35,713 |
/*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/create_torrent.cpp | C++ | bsd | 18,394 |
/*
Copyright (c) 2005-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxw315-libtorrent | src/ip_filter.cpp | C++ | bsd | 3,017 |
tool_programs = \
parse_hash_fails
if ENABLE_EXAMPLES
bin_PROGRAMS = $(tool_programs)
endif
EXTRA_PROGRAMS = $(tool_programs)
EXTRA_DIST = Jamfile
parse_hash_fails_SOURCES = parse_hash_fails.cpp
#client_test_LDADD = $(top_builddir)/src/libtorrent-rasterbar.la
LDADD = $(top_builddir)/src/libtorrent-rasterbar.la
... | zxw315-libtorrent | tools/Makefile.am | Makefile | bsd | 533 |
/*
Copyright (c) 2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | tools/parse_hash_fails.cpp | C++ | bsd | 3,213 |
#! /usr/bin/env python
import os, sys, time
keys = [['upload rate', 'x1y1', 6], ['history entries', 'x1y2', 10], ['queue', 'x1y2', 4]]
out = open('bandwidth.gnuplot', 'wb')
print >>out, "set term png size 1200,700"
print >>out, 'set output "bandwidth_manager.png"'
print >>out, 'set xrange [0:*]'
print >>out, 'set xla... | zxw315-libtorrent | parse_bandwidth_log.py | Python | bsd | 747 |
#! /usr/bin/env python
# Copyright Arvid Norberg 2008. Use, modification and distribution is
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import os, sys, time
lines = open(sys.argv[1], 'rb').readlines()
if len(sys.argv... | zxw315-libtorrent | parse_disk_log.py | Python | bsd | 3,394 |
#! /usr/bin/env python
import os
import sys
import glob
version = (int(sys.argv[1]), int(sys.argv[2]), int(sys.argv[3]), int(sys.argv[4]))
def substitute_file(name):
subst = ''
f = open(name)
for l in f:
if '#define LIBTORRENT_VERSION_MAJOR' in l and name.endswith('.hpp'):
l = '#define LIBTORRENT_VERSION_MAJO... | zxw315-libtorrent | set_version.py | Python | bsd | 1,596 |
#! /usr/bin/env python
import sys
import os
gnuplot_scripts = []
def gen_stats_gnuplot(name, y, lines):
global gnuplot_scripts
stat = open(sys.argv[1])
line = stat.readline()
while not 'minute:' in line:
line = stat.readline()
names = line.strip().split(':')
counter = 1
for i in names:
print '%d: %s' % ... | zxw315-libtorrent | parse_dht_stats.py | Python | bsd | 1,579 |
#!/usr/bin/env python
# Copyright Arvid Norberg 2008. Use, modification and distribution is
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import os, sys, time, os
from multiprocessing.pool import ThreadPool
thread_pool =... | zxw315-libtorrent | parse_session_stats.py | Python | bsd | 14,333 |
#!/usr/bin/python
import sys
import libtorrent as lt
import time
if len(sys.argv) != 2:
print('usage: rss_reader.py rss-feed-url')
sys.exit(1)
ses = lt.session()
h = ses.add_feed({'url': sys.argv[1], 'auto_download': False})
f = h.get_feed_status()
spinner = ['|', '/', '-', '\\']
i = 0
while f['updating']:
time.... | zxw315-libtorrent | bindings/python/rss_reader.py | Python | bsd | 935 |
#!/usr/bin/python
# Copyright Daniel Wallin 2006. Use, modification and distribution is
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import sys
import atexit
import libtorrent as lt
import time
import os.path
import sys... | zxw315-libtorrent | bindings/python/client.py | Python | bsd | 10,555 |
#!/bin/python
import sys
import os
import libtorrent
if len(sys.argv) < 3:
print 'usage make_torrent.py file tracker-url'
sys.exit(1)
input = os.path.abspath(sys.argv[1])
fs = libtorrent.file_storage()
libtorrent.add_files(fs, input)
if fs.num_files() == 0:
print 'no files added'
sys.exit(1)
t = libtorrent.cre... | zxw315-libtorrent | bindings/python/make_torrent.py | Python | bsd | 589 |
#!/usr/bin/env python
from distutils import sysconfig
from distutils.core import setup, Extension
import os
import platform
import sys
if '@BOOST_PYTHON_LIB@' == '':
print('You need to pass --enable-python-binding to configure in order '),
print('to properly use this setup. There is no boost.python library configur... | zxw315-libtorrent | bindings/python/setup.py.in | Python | bsd | 3,353 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/torrent_info.hpp>
#include "libtorrent/intrusive_ptr_... | zxw315-libtorrent | bindings/python/src/torrent_info.cpp | C++ | bsd | 8,025 |
// Copyright Daniel Wallin 2007. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef OPTIONAL_070108_HPP
# define OPTIONAL_070108_HPP
# include <boost/python.hpp>
# include <boos... | zxw315-libtorrent | bindings/python/src/optional.hpp | C++ | bsd | 777 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/identify_client.hpp>
#include <libtorrent/bencode.hpp>
#include <boost/python.hpp... | zxw315-libtorrent | bindings/python/src/utility.cpp | C++ | bsd | 966 |
// Copyright Andrew Resch 2008. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
#include <boost/python.hpp>
#include <libtorrent/session.hpp>
#include <libtorrent/torrent.hpp>
#include... | zxw315-libtorrent | bindings/python/src/magnet_uri.cpp | C++ | bsd | 1,344 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/session.hpp>
using namespace boost::python;
using na... | zxw315-libtorrent | bindings/python/src/entry.cpp | C++ | bsd | 3,579 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/torrent_handle.hpp>
#include <libtorrent/bitfield.hpp... | zxw315-libtorrent | bindings/python/src/torrent_status.cpp | C++ | bsd | 6,426 |
// Copyright Andrew Resch 2009. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
using namespace boost::python;
template<class T1, class T2>
struct pair_t... | zxw315-libtorrent | bindings/python/src/converters.cpp | C++ | bsd | 1,335 |
// Copyright Daniel Wallin 2007. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef GIL_070107_HPP
# define GIL_070107_HPP
# include <boost/python/make_function.hpp>
# include <... | zxw315-libtorrent | bindings/python/src/gil.hpp | C++ | bsd | 3,210 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <boost/python/tuple.hpp>
#include <libtorrent/torrent_handle.hpp>... | zxw315-libtorrent | bindings/python/src/torrent_handle.cpp | C++ | bsd | 14,793 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/peer_id.hpp>
#include <boost/python.hpp>
void bind_big_number()
{
using name... | zxw315-libtorrent | bindings/python/src/big_number.cpp | C++ | bsd | 571 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifdef __GNUC__
#define BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY 1
#endif
#include <boost/python/module... | zxw315-libtorrent | bindings/python/src/module.cpp | C++ | bsd | 1,372 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include "libtorrent/utf8.hpp"
#include <string>
using namespace boost::p... | zxw315-libtorrent | bindings/python/src/string.cpp | C++ | bsd | 1,925 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/alert.hpp>
#include <libtorrent/alert_types.hpp>
usi... | zxw315-libtorrent | bindings/python/src/alert.cpp | C++ | bsd | 18,745 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/fingerprint.hpp>
#include <boost/python.hpp>
void bind_fingerprint()
{
using... | zxw315-libtorrent | bindings/python/src/fingerprint.cpp | C++ | bsd | 963 |
// Copyright Daniel Wallin 2007. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/torrent.hpp>
using namespace boost::python;
using na... | zxw315-libtorrent | bindings/python/src/torrent.cpp | C++ | bsd | 427 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/version.hpp>
#include <boost/python.hpp>
using namespace boost::python;
void bi... | zxw315-libtorrent | bindings/python/src/version.cpp | C++ | bsd | 512 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include "optio... | zxw315-libtorrent | bindings/python/src/datetime.cpp | C++ | bsd | 1,932 |
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/session.hpp>
using namespace boost::python;
using na... | zxw315-libtorrent | bindings/python/src/session_settings.cpp | C++ | bsd | 17,630 |
// Copyright Daniel Wallin, Arvid Norberg 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <list>
#include <string>
#include <libtorrent/sess... | zxw315-libtorrent | bindings/python/src/session.cpp | C++ | bsd | 26,002 |
/*
Copyright (c) 2011, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | bindings/python/src/error_code.cpp | C++ | bsd | 1,873 |
// Copyright Daniel Wallin & Arvid Norberg 2009. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python.hpp>
#include <libtorrent/create_torrent.hpp>
#include <libtorr... | zxw315-libtorrent | bindings/python/src/create_torrent.cpp | C++ | bsd | 5,739 |
// Copyright Andrew Resch 2008. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/ip_filter.hpp>
#include <boost/python.hpp>
#include "gil.hpp"
using namespace boo... | zxw315-libtorrent | bindings/python/src/ip_filter.cpp | C++ | bsd | 897 |
// Copyright Daniel Wallin 2007. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/peer_info.hpp>
#include <libtorrent/bitfield.hpp>
#include <boost/python.hpp>
#in... | zxw315-libtorrent | bindings/python/src/peer_info.cpp | C++ | bsd | 5,174 |
EXTRA_DIST = \
Jamfile \
setup.py \
client.py \
rss_reader.py \
simple_client.py \
make_torrent.py \
src/alert.cpp \
src/big_number.cpp \
src/converters.cpp \
src/create_torrent.cpp \
sr... | zxw315-libtorrent | bindings/python/Makefile.am | Makefile | bsd | 1,142 |
#!/bin/python
# Copyright Arvid Norberg 2008. Use, modification and distribution is
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import libtorrent as lt
import time
import sys
ses = lt.session()
ses.listen_on(6881, 689... | zxw315-libtorrent | bindings/python/simple_client.py | Python | bsd | 879 |
/*
Copyright (c) 2009, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | bindings/c/libtorrent.h | C++ | bsd | 7,579 |
/*
Copyright (c) 2009, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | bindings/c/simple_client.c | C | bsd | 3,263 |
/*
Copyright (c) 2009, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | bindings/c/library.cpp | C++ | bsd | 16,847 |
SUBDIRS = python
EXTRA_DIST = README.txt
| zxw315-libtorrent | bindings/Makefile.am | Makefile | bsd | 43 |
ACLOCAL_AMFLAGS = -I m4
#DISTCHECK_CONFIGURE_FLAGS = --enable-tests
SUBDIRS = include/libtorrent src examples test bindings tools
DOCS_IMAGES = \
docs/arctic_thumb.png \
docs/bitbuddy_thumb.jpg \
docs/bitfox.png \
docs/bitrocket_thumb.png \
docs/bitscast_thumb.png ... | zxw315-libtorrent | Makefile.am | Makefile | bsd | 3,856 |
#!/bin/sh
# Using this script should be identical to the resulto of "autoreconf -fi".
# Some code taken from the gnome macros/autogen.sh scripts.
# $Id$
###############################################################################
# utility functions
###############################################################... | zxw315-libtorrent | autotool.sh | Shell | bsd | 5,605 |
/*
Copyright (c) 2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | examples/parse_request_log.cpp | C++ | bsd | 9,449 |
/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | examples/client_test.cpp | C++ | bsd | 72,745 |
/*
Copyright (c) 2010, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | examples/fragmentation_test.cpp | C++ | bsd | 4,606 |
/*
Copyright (c) 2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | examples/utp_test.cpp | C++ | bsd | 2,650 |
/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | zxw315-libtorrent | examples/simple_client.cpp | C++ | bsd | 2,350 |