~ubuntu-branches/ubuntu/maverick/libtorrent-rasterbar/maverick

« back to all changes in this revision

Viewing changes to bindings/python/src/module.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cristian Greco
  • Date: 2008-07-02 10:46:21 UTC
  • Revision ID: james.westby@ubuntu.com-20080702104621-jzx3pfke9lkcxfxn
Tags: upstream-0.13.1
ImportĀ upstreamĀ versionĀ 0.13.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright Daniel Wallin 2006. Use, modification and distribution is
 
2
// subject to the Boost Software License, Version 1.0. (See accompanying
 
3
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
4
 
 
5
#include <boost/python/module.hpp>
 
6
 
 
7
void bind_utility();
 
8
void bind_fingerprint();
 
9
void bind_big_number();
 
10
void bind_session();
 
11
void bind_entry();
 
12
void bind_torrent_info();
 
13
void bind_filesystem();
 
14
void bind_torrent_handle();
 
15
void bind_torrent_status();
 
16
void bind_session_settings();
 
17
void bind_version();
 
18
void bind_alert();
 
19
void bind_datetime();
 
20
void bind_extensions();
 
21
void bind_peer_plugin();
 
22
void bind_torrent();
 
23
void bind_peer_info();
 
24
void bind_ip_filter();
 
25
 
 
26
BOOST_PYTHON_MODULE(libtorrent)
 
27
{
 
28
    Py_Initialize();
 
29
    PyEval_InitThreads();
 
30
 
 
31
    bind_utility();
 
32
    bind_fingerprint();
 
33
    bind_big_number();
 
34
    bind_entry();
 
35
    bind_session();
 
36
    bind_torrent_info();
 
37
    bind_filesystem();
 
38
    bind_torrent_handle();
 
39
    bind_torrent_status();
 
40
    bind_session_settings();
 
41
    bind_version();
 
42
    bind_alert();
 
43
    bind_datetime();
 
44
    bind_extensions();
 
45
    bind_peer_plugin();
 
46
    bind_torrent();
 
47
    bind_peer_info();
 
48
    bind_ip_filter();
 
49
}
 
50