00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 */ 00004 00005 00006 00007 00008 #include <boost/python/module.hpp> 00009 00010 void bind_utility(); 00011 void bind_fingerprint(); 00012 void bind_big_number(); 00013 void bind_session(); 00014 void bind_entry(); 00015 void bind_torrent_info(); 00016 void bind_filesystem(); 00017 void bind_torrent_handle(); 00018 void bind_torrent_status(); 00019 void bind_session_settings(); 00020 void bind_version(); 00021 void bind_alert(); 00022 void bind_datetime(); 00023 void bind_extensions(); 00024 void bind_peer_plugin(); 00025 void bind_torrent(); 00026 void bind_peer_info(); 00027 00028 BOOST_PYTHON_MODULE(libtorrent) 00029 { 00030 Py_Initialize(); 00031 PyEval_InitThreads(); 00032 00033 bind_utility(); 00034 bind_fingerprint(); 00035 bind_big_number(); 00036 bind_entry(); 00037 bind_session(); 00038 bind_torrent_info(); 00039 bind_filesystem(); 00040 bind_torrent_handle(); 00041 bind_torrent_status(); 00042 bind_session_settings(); 00043 bind_version(); 00044 bind_alert(); 00045 bind_datetime(); 00046 bind_extensions(); 00047 bind_peer_plugin(); 00048 bind_torrent(); 00049 bind_peer_info(); 00050 } 00051
1.5.6