diff --git a/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent.java b/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent.java index e05b25541..98443d92a 100644 --- a/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent.java +++ b/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent.java @@ -101,14 +101,6 @@ public static int getUser_alert_id() { return libtorrent_jni.user_alert_id_get(); } - public static void initialize_default_settings(session_settings s) { - libtorrent_jni.initialize_default_settings(session_settings.getCPtr(s), s); - } - - public static void save_settings_to_dict(session_settings s, string_entry_map sett) { - libtorrent_jni.save_settings_to_dict(session_settings.getCPtr(s), s, string_entry_map.getCPtr(sett), sett); - } - public static int setting_by_name(String name) { return libtorrent_jni.setting_by_name(name); } diff --git a/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent_jni.java b/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent_jni.java index f771b2d4e..b1b033a0a 100644 --- a/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent_jni.java +++ b/src/main/java/com/frostwire/jlibtorrent/swig/libtorrent_jni.java @@ -2332,16 +2332,6 @@ public class libtorrent_jni { public final static native void dht_settings_item_lifetime_set(long jarg1, dht_settings jarg1_, int jarg2); public final static native int dht_settings_item_lifetime_get(long jarg1, dht_settings jarg1_); public final static native void delete_dht_settings(long jarg1); - public final static native void initialize_default_settings(long jarg1, session_settings jarg1_); - public final static native void session_settings_set_str(long jarg1, session_settings jarg1_, int jarg2, String jarg3); - public final static native String session_settings_get_str(long jarg1, session_settings jarg1_, int jarg2); - public final static native void session_settings_set_int(long jarg1, session_settings jarg1_, int jarg2, int jarg3); - public final static native int session_settings_get_int(long jarg1, session_settings jarg1_, int jarg2); - public final static native void session_settings_set_bool(long jarg1, session_settings jarg1_, int jarg2, boolean jarg3); - public final static native boolean session_settings_get_bool(long jarg1, session_settings jarg1_, int jarg2); - public final static native long new_session_settings(); - public final static native void delete_session_settings(long jarg1); - public final static native void save_settings_to_dict(long jarg1, session_settings jarg1_, long jarg2, string_entry_map jarg2_); public final static native int setting_by_name(String jarg1); public final static native String name_for_setting(int jarg1); public final static native void settings_pack_set_str(long jarg1, settings_pack jarg1_, int jarg2, String jarg3); diff --git a/src/main/java/com/frostwire/jlibtorrent/swig/session_settings.java b/src/main/java/com/frostwire/jlibtorrent/swig/session_settings.java deleted file mode 100644 index 1ef410c0b..000000000 --- a/src/main/java/com/frostwire/jlibtorrent/swig/session_settings.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package com.frostwire.jlibtorrent.swig; - -public class session_settings { - private transient long swigCPtr; - protected transient boolean swigCMemOwn; - - protected session_settings(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(session_settings obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - libtorrent_jni.delete_session_settings(swigCPtr); - } - swigCPtr = 0; - } - } - - public void set_str(int name, String value) { - libtorrent_jni.session_settings_set_str(swigCPtr, this, name, value); - } - - public String get_str(int name) { - return libtorrent_jni.session_settings_get_str(swigCPtr, this, name); - } - - public void set_int(int name, int value) { - libtorrent_jni.session_settings_set_int(swigCPtr, this, name, value); - } - - public int get_int(int name) { - return libtorrent_jni.session_settings_get_int(swigCPtr, this, name); - } - - public void set_bool(int name, boolean value) { - libtorrent_jni.session_settings_set_bool(swigCPtr, this, name, value); - } - - public boolean get_bool(int name) { - return libtorrent_jni.session_settings_get_bool(swigCPtr, this, name); - } - - public session_settings() { - this(libtorrent_jni.new_session_settings(), true); - } - -} diff --git a/swig/libtorrent.i b/swig/libtorrent.i index 9badf3e8b..2d56e7a98 100644 --- a/swig/libtorrent.i +++ b/swig/libtorrent.i @@ -55,7 +55,6 @@ #include "libtorrent/peer_info.hpp" #include "libtorrent/session_status.hpp" #include "libtorrent/session_settings.hpp" -#include "libtorrent/aux_/session_settings.hpp" #include "libtorrent/settings_pack.hpp" #include "libtorrent/peer_class.hpp" #include "libtorrent/peer_class_type_filter.hpp" @@ -460,6 +459,7 @@ namespace std { %ignore libtorrent::copy_bufs; %ignore libtorrent::apply_pack; %ignore libtorrent::load_pack_from_dict; +%ignore libtorrent::save_settings_to_dict; %ignore libtorrent::error_code; %ignore libtorrent::detail::nop; @@ -580,7 +580,6 @@ namespace std { %include "libtorrent/peer_info.hpp" %include "libtorrent/session_status.hpp" %include "libtorrent/session_settings.hpp" -%include "libtorrent/aux_/session_settings.hpp" %include "libtorrent/settings_pack.hpp" %include "libtorrent/peer_class.hpp" %include "libtorrent/peer_class_type_filter.hpp" diff --git a/swig/libtorrent_jni.cpp b/swig/libtorrent_jni.cpp index 04ac5e57d..272f14dca 100644 --- a/swig/libtorrent_jni.cpp +++ b/swig/libtorrent_jni.cpp @@ -717,7 +717,6 @@ namespace Swig { #include "libtorrent/peer_info.hpp" #include "libtorrent/session_status.hpp" #include "libtorrent/session_settings.hpp" -#include "libtorrent/aux_/session_settings.hpp" #include "libtorrent/settings_pack.hpp" #include "libtorrent/peer_class.hpp" #include "libtorrent/peer_class_type_filter.hpp" @@ -48775,249 +48774,6 @@ SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_dele } -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_initialize_1default_1settings(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { - libtorrent::aux::session_settings *arg1 = 0 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::aux::session_settings & reference is null"); - return ; - } - { - try { - libtorrent::initialize_default_settings(*arg1); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1set_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3) { - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - std::string *arg3 = 0 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - if(!jarg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null string"); - return ; - } - const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3_pstr) return ; - std::string arg3_str(arg3_pstr); - arg3 = &arg3_str; - jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); - { - try { - (arg1)->set_str(arg2,(std::string const &)*arg3); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - -SWIGEXPORT jstring JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1get_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { - jstring jresult = 0 ; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - std::string *result = 0 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - { - try { - result = (std::string *) &((libtorrent::aux::session_settings const *)arg1)->get_str(arg2); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } - jresult = jenv->NewStringUTF(result->c_str()); - return jresult; -} - - -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1set_1int(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - int arg3 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - { - try { - (arg1)->set_int(arg2,arg3); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - -SWIGEXPORT jint JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1get_1int(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { - jint jresult = 0 ; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - int result; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - { - try { - result = (int)((libtorrent::aux::session_settings const *)arg1)->get_int(arg2); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1set_1bool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - bool arg3 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - arg3 = jarg3 ? true : false; - { - try { - (arg1)->set_bool(arg2,arg3); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - -SWIGEXPORT jboolean JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_session_1settings_1get_1bool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { - jboolean jresult = 0 ; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - bool result; - - (void)jenv; - (void)jcls; - (void)jarg1_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - arg2 = (int)jarg2; - { - try { - result = (bool)((libtorrent::aux::session_settings const *)arg1)->get_bool(arg2); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } - jresult = (jboolean)result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_new_1session_1settings(JNIEnv *jenv, jclass jcls) { - jlong jresult = 0 ; - libtorrent::aux::session_settings *result = 0 ; - - (void)jenv; - (void)jcls; - { - try { - result = (libtorrent::aux::session_settings *)new libtorrent::aux::session_settings(); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } - *(libtorrent::aux::session_settings **)&jresult = result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_delete_1session_1settings(JNIEnv *jenv, jclass jcls, jlong jarg1) { - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - { - try { - delete arg1; - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - -SWIGEXPORT void JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_save_1settings_1to_1dict(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { - libtorrent::aux::session_settings *arg1 = 0 ; - libtorrent::entry::dictionary_type *arg2 = 0 ; - - (void)jenv; - (void)jcls; - (void)jarg1_; - (void)jarg2_; - arg1 = *(libtorrent::aux::session_settings **)&jarg1; - if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::aux::session_settings const & reference is null"); - return ; - } - arg2 = *(libtorrent::entry::dictionary_type **)&jarg2; - if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry::dictionary_type & reference is null"); - return ; - } - { - try { - libtorrent::save_settings_to_dict((libtorrent::aux::session_settings const &)*arg1,*arg2); - } catch (std::exception& e) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); - } catch (...) { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unknown exception type"); - } - } -} - - SWIGEXPORT jint JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_setting_1by_1name(JNIEnv *jenv, jclass jcls, jstring jarg1) { jint jresult = 0 ; std::string *arg1 = 0 ; @@ -61973,7 +61729,7 @@ SWIGEXPORT jstring JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_L (void)jenv; (void)jcls; - result = (char *)("896bcaf3dee0fb3ff5152636727fd8827fb1de6f"); + result = (char *)("6ad2b0709e8453765b913a7a035d769e14f57044"); if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; } @@ -61985,7 +61741,7 @@ SWIGEXPORT jstring JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_J (void)jenv; (void)jcls; - result = (char *)("f673ea18495c467b4e2e196cf4b504d9b9b57893"); + result = (char *)("5b0465ca135a5457cafee7d11eeef64fdbd8dd87"); if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; } diff --git a/swig/libtorrent_node.cpp b/swig/libtorrent_node.cpp index 202ef12ad..39a844ebd 100644 --- a/swig/libtorrent_node.cpp +++ b/swig/libtorrent_node.cpp @@ -1505,208 +1505,207 @@ SWIGRUNTIME void JS_veto_set_variable(v8::Local property, v8::Local< #define SWIGTYPE_p_libtorrent__alert swig_types[24] #define SWIGTYPE_p_libtorrent__announce_entry swig_types[25] #define SWIGTYPE_p_libtorrent__anonymous_mode_alert swig_types[26] -#define SWIGTYPE_p_libtorrent__aux__session_settings swig_types[27] -#define SWIGTYPE_p_libtorrent__bdecode_node swig_types[28] -#define SWIGTYPE_p_libtorrent__bitfield swig_types[29] -#define SWIGTYPE_p_libtorrent__block_downloading_alert swig_types[30] -#define SWIGTYPE_p_libtorrent__block_finished_alert swig_types[31] -#define SWIGTYPE_p_libtorrent__block_info swig_types[32] -#define SWIGTYPE_p_libtorrent__block_timeout_alert swig_types[33] -#define SWIGTYPE_p_libtorrent__bt_peer_connection_handle swig_types[34] -#define SWIGTYPE_p_libtorrent__cache_flushed_alert swig_types[35] -#define SWIGTYPE_p_libtorrent__counters swig_types[36] -#define SWIGTYPE_p_libtorrent__create_torrent swig_types[37] -#define SWIGTYPE_p_libtorrent__default_storage swig_types[38] -#define SWIGTYPE_p_libtorrent__detail__bdecode_token swig_types[39] -#define SWIGTYPE_p_libtorrent__dht_announce_alert swig_types[40] -#define SWIGTYPE_p_libtorrent__dht_bootstrap_alert swig_types[41] -#define SWIGTYPE_p_libtorrent__dht_direct_response_alert swig_types[42] -#define SWIGTYPE_p_libtorrent__dht_error_alert swig_types[43] -#define SWIGTYPE_p_libtorrent__dht_get_peers_alert swig_types[44] -#define SWIGTYPE_p_libtorrent__dht_get_peers_reply_alert swig_types[45] -#define SWIGTYPE_p_libtorrent__dht_immutable_item_alert swig_types[46] -#define SWIGTYPE_p_libtorrent__dht_log_alert swig_types[47] -#define SWIGTYPE_p_libtorrent__dht_lookup swig_types[48] -#define SWIGTYPE_p_libtorrent__dht_mutable_item_alert swig_types[49] -#define SWIGTYPE_p_libtorrent__dht_outgoing_get_peers_alert swig_types[50] -#define SWIGTYPE_p_libtorrent__dht_pkt_alert swig_types[51] -#define SWIGTYPE_p_libtorrent__dht_put_alert swig_types[52] -#define SWIGTYPE_p_libtorrent__dht_reply_alert swig_types[53] -#define SWIGTYPE_p_libtorrent__dht_routing_bucket swig_types[54] -#define SWIGTYPE_p_libtorrent__dht_settings swig_types[55] -#define SWIGTYPE_p_libtorrent__dht_stats_alert swig_types[56] -#define SWIGTYPE_p_libtorrent__disabled_storage swig_types[57] -#define SWIGTYPE_p_libtorrent__disk_buffer_holder swig_types[58] -#define SWIGTYPE_p_libtorrent__disk_job_fence swig_types[59] -#define SWIGTYPE_p_libtorrent__entry swig_types[60] -#define SWIGTYPE_p_libtorrent__external_ip_alert swig_types[61] -#define SWIGTYPE_p_libtorrent__fastresume_rejected_alert swig_types[62] -#define SWIGTYPE_p_libtorrent__file_completed_alert swig_types[63] -#define SWIGTYPE_p_libtorrent__file_error_alert swig_types[64] -#define SWIGTYPE_p_libtorrent__file_rename_failed_alert swig_types[65] -#define SWIGTYPE_p_libtorrent__file_renamed_alert swig_types[66] -#define SWIGTYPE_p_libtorrent__file_slice swig_types[67] -#define SWIGTYPE_p_libtorrent__file_storage swig_types[68] -#define SWIGTYPE_p_libtorrent__fingerprint swig_types[69] -#define SWIGTYPE_p_libtorrent__hash_failed_alert swig_types[70] -#define SWIGTYPE_p_libtorrent__i2p_alert swig_types[71] -#define SWIGTYPE_p_libtorrent__incoming_connection_alert swig_types[72] -#define SWIGTYPE_p_libtorrent__incoming_request_alert swig_types[73] -#define SWIGTYPE_p_libtorrent__invalid_request_alert swig_types[74] -#define SWIGTYPE_p_libtorrent__ip_filter swig_types[75] -#define SWIGTYPE_p_libtorrent__listen_failed_alert swig_types[76] -#define SWIGTYPE_p_libtorrent__listen_succeeded_alert swig_types[77] -#define SWIGTYPE_p_libtorrent__log_alert swig_types[78] -#define SWIGTYPE_p_libtorrent__lsd_error_alert swig_types[79] -#define SWIGTYPE_p_libtorrent__lsd_peer_alert swig_types[80] -#define SWIGTYPE_p_libtorrent__metadata_failed_alert swig_types[81] -#define SWIGTYPE_p_libtorrent__metadata_received_alert swig_types[82] -#define SWIGTYPE_p_libtorrent__mmap_cache_alert swig_types[83] -#define SWIGTYPE_p_libtorrent__partial_piece_info swig_types[84] -#define SWIGTYPE_p_libtorrent__peer_alert swig_types[85] -#define SWIGTYPE_p_libtorrent__peer_ban_alert swig_types[86] -#define SWIGTYPE_p_libtorrent__peer_blocked_alert swig_types[87] -#define SWIGTYPE_p_libtorrent__peer_class swig_types[88] -#define SWIGTYPE_p_libtorrent__peer_class_info swig_types[89] -#define SWIGTYPE_p_libtorrent__peer_class_pool swig_types[90] -#define SWIGTYPE_p_libtorrent__peer_class_type_filter swig_types[91] -#define SWIGTYPE_p_libtorrent__peer_connect_alert swig_types[92] -#define SWIGTYPE_p_libtorrent__peer_connection_handle swig_types[93] -#define SWIGTYPE_p_libtorrent__peer_disconnected_alert swig_types[94] -#define SWIGTYPE_p_libtorrent__peer_error_alert swig_types[95] -#define SWIGTYPE_p_libtorrent__peer_info swig_types[96] -#define SWIGTYPE_p_libtorrent__peer_list_entry swig_types[97] -#define SWIGTYPE_p_libtorrent__peer_log_alert swig_types[98] -#define SWIGTYPE_p_libtorrent__peer_plugin swig_types[99] -#define SWIGTYPE_p_libtorrent__peer_request swig_types[100] -#define SWIGTYPE_p_libtorrent__peer_snubbed_alert swig_types[101] -#define SWIGTYPE_p_libtorrent__peer_unsnubbed_alert swig_types[102] -#define SWIGTYPE_p_libtorrent__performance_alert swig_types[103] -#define SWIGTYPE_p_libtorrent__picker_log_alert swig_types[104] -#define SWIGTYPE_p_libtorrent__piece_finished_alert swig_types[105] -#define SWIGTYPE_p_libtorrent__piece_manager swig_types[106] -#define SWIGTYPE_p_libtorrent__pool_file_status swig_types[107] -#define SWIGTYPE_p_libtorrent__port_filter swig_types[108] -#define SWIGTYPE_p_libtorrent__portmap_alert swig_types[109] -#define SWIGTYPE_p_libtorrent__portmap_error_alert swig_types[110] -#define SWIGTYPE_p_libtorrent__portmap_log_alert swig_types[111] -#define SWIGTYPE_p_libtorrent__read_piece_alert swig_types[112] -#define SWIGTYPE_p_libtorrent__request_dropped_alert swig_types[113] -#define SWIGTYPE_p_libtorrent__save_resume_data_alert swig_types[114] -#define SWIGTYPE_p_libtorrent__save_resume_data_failed_alert swig_types[115] -#define SWIGTYPE_p_libtorrent__scrape_failed_alert swig_types[116] -#define SWIGTYPE_p_libtorrent__scrape_reply_alert swig_types[117] -#define SWIGTYPE_p_libtorrent__session swig_types[118] -#define SWIGTYPE_p_libtorrent__session_handle swig_types[119] -#define SWIGTYPE_p_libtorrent__session_proxy swig_types[120] -#define SWIGTYPE_p_libtorrent__session_stats_alert swig_types[121] -#define SWIGTYPE_p_libtorrent__settings_pack swig_types[122] -#define SWIGTYPE_p_libtorrent__sha1_hash swig_types[123] -#define SWIGTYPE_p_libtorrent__stat swig_types[124] -#define SWIGTYPE_p_libtorrent__stat_channel swig_types[125] -#define SWIGTYPE_p_libtorrent__state_changed_alert swig_types[126] -#define SWIGTYPE_p_libtorrent__state_update_alert swig_types[127] -#define SWIGTYPE_p_libtorrent__stats_alert swig_types[128] -#define SWIGTYPE_p_libtorrent__stats_metric swig_types[129] -#define SWIGTYPE_p_libtorrent__storage_error swig_types[130] -#define SWIGTYPE_p_libtorrent__storage_interface swig_types[131] -#define SWIGTYPE_p_libtorrent__storage_moved_alert swig_types[132] -#define SWIGTYPE_p_libtorrent__storage_moved_failed_alert swig_types[133] -#define SWIGTYPE_p_libtorrent__storage_params swig_types[134] -#define SWIGTYPE_p_libtorrent__storage_piece_set swig_types[135] -#define SWIGTYPE_p_libtorrent__torrent_added_alert swig_types[136] -#define SWIGTYPE_p_libtorrent__torrent_alert swig_types[137] -#define SWIGTYPE_p_libtorrent__torrent_checked_alert swig_types[138] -#define SWIGTYPE_p_libtorrent__torrent_delete_failed_alert swig_types[139] -#define SWIGTYPE_p_libtorrent__torrent_deleted_alert swig_types[140] -#define SWIGTYPE_p_libtorrent__torrent_error_alert swig_types[141] -#define SWIGTYPE_p_libtorrent__torrent_finished_alert swig_types[142] -#define SWIGTYPE_p_libtorrent__torrent_handle swig_types[143] -#define SWIGTYPE_p_libtorrent__torrent_info swig_types[144] -#define SWIGTYPE_p_libtorrent__torrent_log_alert swig_types[145] -#define SWIGTYPE_p_libtorrent__torrent_need_cert_alert swig_types[146] -#define SWIGTYPE_p_libtorrent__torrent_paused_alert swig_types[147] -#define SWIGTYPE_p_libtorrent__torrent_plugin swig_types[148] -#define SWIGTYPE_p_libtorrent__torrent_removed_alert swig_types[149] -#define SWIGTYPE_p_libtorrent__torrent_resumed_alert swig_types[150] -#define SWIGTYPE_p_libtorrent__torrent_status swig_types[151] -#define SWIGTYPE_p_libtorrent__torrent_update_alert swig_types[152] -#define SWIGTYPE_p_libtorrent__tracker_alert swig_types[153] -#define SWIGTYPE_p_libtorrent__tracker_announce_alert swig_types[154] -#define SWIGTYPE_p_libtorrent__tracker_error_alert swig_types[155] -#define SWIGTYPE_p_libtorrent__tracker_reply_alert swig_types[156] -#define SWIGTYPE_p_libtorrent__tracker_warning_alert swig_types[157] -#define SWIGTYPE_p_libtorrent__trackerid_alert swig_types[158] -#define SWIGTYPE_p_libtorrent__type_error swig_types[159] -#define SWIGTYPE_p_libtorrent__udp_error_alert swig_types[160] -#define SWIGTYPE_p_libtorrent__unwanted_block_alert swig_types[161] -#define SWIGTYPE_p_libtorrent__url_seed_alert swig_types[162] -#define SWIGTYPE_p_libtorrent__web_seed_entry swig_types[163] -#define SWIGTYPE_p_libtorrent__zero_storage swig_types[164] -#define SWIGTYPE_p_list_type swig_types[165] -#define SWIGTYPE_p_long swig_types[166] -#define SWIGTYPE_p_long_long swig_types[167] -#define SWIGTYPE_p_mapped_type swig_types[168] -#define SWIGTYPE_p_nodes_t swig_types[169] -#define SWIGTYPE_p_posix_stat swig_types[170] -#define SWIGTYPE_p_posix_wrapper swig_types[171] -#define SWIGTYPE_p_set_piece_hashes_listener swig_types[172] -#define SWIGTYPE_p_short swig_types[173] -#define SWIGTYPE_p_signed_char swig_types[174] -#define SWIGTYPE_p_size_type swig_types[175] -#define SWIGTYPE_p_std__listT_libtorrent__entry_t swig_types[176] -#define SWIGTYPE_p_std__listT_std__string_t swig_types[177] -#define SWIGTYPE_p_std__mapT_int_libtorrent__sha1_hash_t swig_types[178] -#define SWIGTYPE_p_std__mapT_std__string_libtorrent__entry_t swig_types[179] -#define SWIGTYPE_p_std__mapT_std__string_long_t swig_types[180] -#define SWIGTYPE_p_std__pairT_int_int_t swig_types[181] -#define SWIGTYPE_p_std__pairT_std__string_dht_extension_handler_listener_p_t swig_types[182] -#define SWIGTYPE_p_std__pairT_std__string_int_t swig_types[183] -#define SWIGTYPE_p_std__pairT_std__string_libtorrent__bdecode_node_t swig_types[184] -#define SWIGTYPE_p_std__pairT_std__string_std__string_t swig_types[185] -#define SWIGTYPE_p_std__runtime_error swig_types[186] -#define SWIGTYPE_p_std__vectorT_int_t swig_types[187] -#define SWIGTYPE_p_std__vectorT_libtorrent__alert_p_t swig_types[188] -#define SWIGTYPE_p_std__vectorT_libtorrent__announce_entry_t swig_types[189] -#define SWIGTYPE_p_std__vectorT_libtorrent__dht_lookup_t swig_types[190] -#define SWIGTYPE_p_std__vectorT_libtorrent__dht_routing_bucket_t swig_types[191] -#define SWIGTYPE_p_std__vectorT_libtorrent__entry_t swig_types[192] -#define SWIGTYPE_p_std__vectorT_libtorrent__file_slice_t swig_types[193] -#define SWIGTYPE_p_std__vectorT_libtorrent__partial_piece_info_t swig_types[194] -#define SWIGTYPE_p_std__vectorT_libtorrent__peer_connection_handle_t swig_types[195] -#define SWIGTYPE_p_std__vectorT_libtorrent__peer_info_t swig_types[196] -#define SWIGTYPE_p_std__vectorT_libtorrent__peer_list_entry_t swig_types[197] -#define SWIGTYPE_p_std__vectorT_libtorrent__sha1_hash_t swig_types[198] -#define SWIGTYPE_p_std__vectorT_libtorrent__stats_metric_t swig_types[199] -#define SWIGTYPE_p_std__vectorT_libtorrent__torrent_handle_t swig_types[200] -#define SWIGTYPE_p_std__vectorT_libtorrent__torrent_status_t swig_types[201] -#define SWIGTYPE_p_std__vectorT_libtorrent__web_seed_entry_t swig_types[202] -#define SWIGTYPE_p_std__vectorT_long_long_t swig_types[203] -#define SWIGTYPE_p_std__vectorT_signed_char_t swig_types[204] -#define SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t swig_types[205] -#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_boost__functionT_bool_fudp__endpoint_const_R_libtorrent__bdecode_node_const_R_libtorrent__entry_RF_t_t_t swig_types[206] -#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_dht_extension_handler_listener_p_t_t swig_types[207] -#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_int_t_t swig_types[208] -#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t swig_types[209] -#define SWIGTYPE_p_std__vectorT_std__string_t swig_types[210] -#define SWIGTYPE_p_std__vectorT_tcp__endpoint_t swig_types[211] -#define SWIGTYPE_p_string_type swig_types[212] -#define SWIGTYPE_p_swig_peer_plugin swig_types[213] -#define SWIGTYPE_p_swig_plugin swig_types[214] -#define SWIGTYPE_p_swig_storage swig_types[215] -#define SWIGTYPE_p_swig_storage_constructor swig_types[216] -#define SWIGTYPE_p_swig_torrent_plugin swig_types[217] -#define SWIGTYPE_p_tailqueueT_libtorrent__disk_io_job_t swig_types[218] -#define SWIGTYPE_p_tcp__endpoint swig_types[219] -#define SWIGTYPE_p_udp__endpoint swig_types[220] -#define SWIGTYPE_p_unsigned_char swig_types[221] -#define SWIGTYPE_p_unsigned_int swig_types[222] -#define SWIGTYPE_p_unsigned_long_long swig_types[223] -#define SWIGTYPE_p_unsigned_short swig_types[224] -#define SWIGTYPE_p_unspecified_bool_type swig_types[225] -#define SWIGTYPE_p_value_type swig_types[226] -static swig_type_info *swig_types[228]; -static swig_module_info swig_module = {swig_types, 227, 0, 0, 0, 0}; +#define SWIGTYPE_p_libtorrent__bdecode_node swig_types[27] +#define SWIGTYPE_p_libtorrent__bitfield swig_types[28] +#define SWIGTYPE_p_libtorrent__block_downloading_alert swig_types[29] +#define SWIGTYPE_p_libtorrent__block_finished_alert swig_types[30] +#define SWIGTYPE_p_libtorrent__block_info swig_types[31] +#define SWIGTYPE_p_libtorrent__block_timeout_alert swig_types[32] +#define SWIGTYPE_p_libtorrent__bt_peer_connection_handle swig_types[33] +#define SWIGTYPE_p_libtorrent__cache_flushed_alert swig_types[34] +#define SWIGTYPE_p_libtorrent__counters swig_types[35] +#define SWIGTYPE_p_libtorrent__create_torrent swig_types[36] +#define SWIGTYPE_p_libtorrent__default_storage swig_types[37] +#define SWIGTYPE_p_libtorrent__detail__bdecode_token swig_types[38] +#define SWIGTYPE_p_libtorrent__dht_announce_alert swig_types[39] +#define SWIGTYPE_p_libtorrent__dht_bootstrap_alert swig_types[40] +#define SWIGTYPE_p_libtorrent__dht_direct_response_alert swig_types[41] +#define SWIGTYPE_p_libtorrent__dht_error_alert swig_types[42] +#define SWIGTYPE_p_libtorrent__dht_get_peers_alert swig_types[43] +#define SWIGTYPE_p_libtorrent__dht_get_peers_reply_alert swig_types[44] +#define SWIGTYPE_p_libtorrent__dht_immutable_item_alert swig_types[45] +#define SWIGTYPE_p_libtorrent__dht_log_alert swig_types[46] +#define SWIGTYPE_p_libtorrent__dht_lookup swig_types[47] +#define SWIGTYPE_p_libtorrent__dht_mutable_item_alert swig_types[48] +#define SWIGTYPE_p_libtorrent__dht_outgoing_get_peers_alert swig_types[49] +#define SWIGTYPE_p_libtorrent__dht_pkt_alert swig_types[50] +#define SWIGTYPE_p_libtorrent__dht_put_alert swig_types[51] +#define SWIGTYPE_p_libtorrent__dht_reply_alert swig_types[52] +#define SWIGTYPE_p_libtorrent__dht_routing_bucket swig_types[53] +#define SWIGTYPE_p_libtorrent__dht_settings swig_types[54] +#define SWIGTYPE_p_libtorrent__dht_stats_alert swig_types[55] +#define SWIGTYPE_p_libtorrent__disabled_storage swig_types[56] +#define SWIGTYPE_p_libtorrent__disk_buffer_holder swig_types[57] +#define SWIGTYPE_p_libtorrent__disk_job_fence swig_types[58] +#define SWIGTYPE_p_libtorrent__entry swig_types[59] +#define SWIGTYPE_p_libtorrent__external_ip_alert swig_types[60] +#define SWIGTYPE_p_libtorrent__fastresume_rejected_alert swig_types[61] +#define SWIGTYPE_p_libtorrent__file_completed_alert swig_types[62] +#define SWIGTYPE_p_libtorrent__file_error_alert swig_types[63] +#define SWIGTYPE_p_libtorrent__file_rename_failed_alert swig_types[64] +#define SWIGTYPE_p_libtorrent__file_renamed_alert swig_types[65] +#define SWIGTYPE_p_libtorrent__file_slice swig_types[66] +#define SWIGTYPE_p_libtorrent__file_storage swig_types[67] +#define SWIGTYPE_p_libtorrent__fingerprint swig_types[68] +#define SWIGTYPE_p_libtorrent__hash_failed_alert swig_types[69] +#define SWIGTYPE_p_libtorrent__i2p_alert swig_types[70] +#define SWIGTYPE_p_libtorrent__incoming_connection_alert swig_types[71] +#define SWIGTYPE_p_libtorrent__incoming_request_alert swig_types[72] +#define SWIGTYPE_p_libtorrent__invalid_request_alert swig_types[73] +#define SWIGTYPE_p_libtorrent__ip_filter swig_types[74] +#define SWIGTYPE_p_libtorrent__listen_failed_alert swig_types[75] +#define SWIGTYPE_p_libtorrent__listen_succeeded_alert swig_types[76] +#define SWIGTYPE_p_libtorrent__log_alert swig_types[77] +#define SWIGTYPE_p_libtorrent__lsd_error_alert swig_types[78] +#define SWIGTYPE_p_libtorrent__lsd_peer_alert swig_types[79] +#define SWIGTYPE_p_libtorrent__metadata_failed_alert swig_types[80] +#define SWIGTYPE_p_libtorrent__metadata_received_alert swig_types[81] +#define SWIGTYPE_p_libtorrent__mmap_cache_alert swig_types[82] +#define SWIGTYPE_p_libtorrent__partial_piece_info swig_types[83] +#define SWIGTYPE_p_libtorrent__peer_alert swig_types[84] +#define SWIGTYPE_p_libtorrent__peer_ban_alert swig_types[85] +#define SWIGTYPE_p_libtorrent__peer_blocked_alert swig_types[86] +#define SWIGTYPE_p_libtorrent__peer_class swig_types[87] +#define SWIGTYPE_p_libtorrent__peer_class_info swig_types[88] +#define SWIGTYPE_p_libtorrent__peer_class_pool swig_types[89] +#define SWIGTYPE_p_libtorrent__peer_class_type_filter swig_types[90] +#define SWIGTYPE_p_libtorrent__peer_connect_alert swig_types[91] +#define SWIGTYPE_p_libtorrent__peer_connection_handle swig_types[92] +#define SWIGTYPE_p_libtorrent__peer_disconnected_alert swig_types[93] +#define SWIGTYPE_p_libtorrent__peer_error_alert swig_types[94] +#define SWIGTYPE_p_libtorrent__peer_info swig_types[95] +#define SWIGTYPE_p_libtorrent__peer_list_entry swig_types[96] +#define SWIGTYPE_p_libtorrent__peer_log_alert swig_types[97] +#define SWIGTYPE_p_libtorrent__peer_plugin swig_types[98] +#define SWIGTYPE_p_libtorrent__peer_request swig_types[99] +#define SWIGTYPE_p_libtorrent__peer_snubbed_alert swig_types[100] +#define SWIGTYPE_p_libtorrent__peer_unsnubbed_alert swig_types[101] +#define SWIGTYPE_p_libtorrent__performance_alert swig_types[102] +#define SWIGTYPE_p_libtorrent__picker_log_alert swig_types[103] +#define SWIGTYPE_p_libtorrent__piece_finished_alert swig_types[104] +#define SWIGTYPE_p_libtorrent__piece_manager swig_types[105] +#define SWIGTYPE_p_libtorrent__pool_file_status swig_types[106] +#define SWIGTYPE_p_libtorrent__port_filter swig_types[107] +#define SWIGTYPE_p_libtorrent__portmap_alert swig_types[108] +#define SWIGTYPE_p_libtorrent__portmap_error_alert swig_types[109] +#define SWIGTYPE_p_libtorrent__portmap_log_alert swig_types[110] +#define SWIGTYPE_p_libtorrent__read_piece_alert swig_types[111] +#define SWIGTYPE_p_libtorrent__request_dropped_alert swig_types[112] +#define SWIGTYPE_p_libtorrent__save_resume_data_alert swig_types[113] +#define SWIGTYPE_p_libtorrent__save_resume_data_failed_alert swig_types[114] +#define SWIGTYPE_p_libtorrent__scrape_failed_alert swig_types[115] +#define SWIGTYPE_p_libtorrent__scrape_reply_alert swig_types[116] +#define SWIGTYPE_p_libtorrent__session swig_types[117] +#define SWIGTYPE_p_libtorrent__session_handle swig_types[118] +#define SWIGTYPE_p_libtorrent__session_proxy swig_types[119] +#define SWIGTYPE_p_libtorrent__session_stats_alert swig_types[120] +#define SWIGTYPE_p_libtorrent__settings_pack swig_types[121] +#define SWIGTYPE_p_libtorrent__sha1_hash swig_types[122] +#define SWIGTYPE_p_libtorrent__stat swig_types[123] +#define SWIGTYPE_p_libtorrent__stat_channel swig_types[124] +#define SWIGTYPE_p_libtorrent__state_changed_alert swig_types[125] +#define SWIGTYPE_p_libtorrent__state_update_alert swig_types[126] +#define SWIGTYPE_p_libtorrent__stats_alert swig_types[127] +#define SWIGTYPE_p_libtorrent__stats_metric swig_types[128] +#define SWIGTYPE_p_libtorrent__storage_error swig_types[129] +#define SWIGTYPE_p_libtorrent__storage_interface swig_types[130] +#define SWIGTYPE_p_libtorrent__storage_moved_alert swig_types[131] +#define SWIGTYPE_p_libtorrent__storage_moved_failed_alert swig_types[132] +#define SWIGTYPE_p_libtorrent__storage_params swig_types[133] +#define SWIGTYPE_p_libtorrent__storage_piece_set swig_types[134] +#define SWIGTYPE_p_libtorrent__torrent_added_alert swig_types[135] +#define SWIGTYPE_p_libtorrent__torrent_alert swig_types[136] +#define SWIGTYPE_p_libtorrent__torrent_checked_alert swig_types[137] +#define SWIGTYPE_p_libtorrent__torrent_delete_failed_alert swig_types[138] +#define SWIGTYPE_p_libtorrent__torrent_deleted_alert swig_types[139] +#define SWIGTYPE_p_libtorrent__torrent_error_alert swig_types[140] +#define SWIGTYPE_p_libtorrent__torrent_finished_alert swig_types[141] +#define SWIGTYPE_p_libtorrent__torrent_handle swig_types[142] +#define SWIGTYPE_p_libtorrent__torrent_info swig_types[143] +#define SWIGTYPE_p_libtorrent__torrent_log_alert swig_types[144] +#define SWIGTYPE_p_libtorrent__torrent_need_cert_alert swig_types[145] +#define SWIGTYPE_p_libtorrent__torrent_paused_alert swig_types[146] +#define SWIGTYPE_p_libtorrent__torrent_plugin swig_types[147] +#define SWIGTYPE_p_libtorrent__torrent_removed_alert swig_types[148] +#define SWIGTYPE_p_libtorrent__torrent_resumed_alert swig_types[149] +#define SWIGTYPE_p_libtorrent__torrent_status swig_types[150] +#define SWIGTYPE_p_libtorrent__torrent_update_alert swig_types[151] +#define SWIGTYPE_p_libtorrent__tracker_alert swig_types[152] +#define SWIGTYPE_p_libtorrent__tracker_announce_alert swig_types[153] +#define SWIGTYPE_p_libtorrent__tracker_error_alert swig_types[154] +#define SWIGTYPE_p_libtorrent__tracker_reply_alert swig_types[155] +#define SWIGTYPE_p_libtorrent__tracker_warning_alert swig_types[156] +#define SWIGTYPE_p_libtorrent__trackerid_alert swig_types[157] +#define SWIGTYPE_p_libtorrent__type_error swig_types[158] +#define SWIGTYPE_p_libtorrent__udp_error_alert swig_types[159] +#define SWIGTYPE_p_libtorrent__unwanted_block_alert swig_types[160] +#define SWIGTYPE_p_libtorrent__url_seed_alert swig_types[161] +#define SWIGTYPE_p_libtorrent__web_seed_entry swig_types[162] +#define SWIGTYPE_p_libtorrent__zero_storage swig_types[163] +#define SWIGTYPE_p_list_type swig_types[164] +#define SWIGTYPE_p_long swig_types[165] +#define SWIGTYPE_p_long_long swig_types[166] +#define SWIGTYPE_p_mapped_type swig_types[167] +#define SWIGTYPE_p_nodes_t swig_types[168] +#define SWIGTYPE_p_posix_stat swig_types[169] +#define SWIGTYPE_p_posix_wrapper swig_types[170] +#define SWIGTYPE_p_set_piece_hashes_listener swig_types[171] +#define SWIGTYPE_p_short swig_types[172] +#define SWIGTYPE_p_signed_char swig_types[173] +#define SWIGTYPE_p_size_type swig_types[174] +#define SWIGTYPE_p_std__listT_libtorrent__entry_t swig_types[175] +#define SWIGTYPE_p_std__listT_std__string_t swig_types[176] +#define SWIGTYPE_p_std__mapT_int_libtorrent__sha1_hash_t swig_types[177] +#define SWIGTYPE_p_std__mapT_std__string_libtorrent__entry_t swig_types[178] +#define SWIGTYPE_p_std__mapT_std__string_long_t swig_types[179] +#define SWIGTYPE_p_std__pairT_int_int_t swig_types[180] +#define SWIGTYPE_p_std__pairT_std__string_dht_extension_handler_listener_p_t swig_types[181] +#define SWIGTYPE_p_std__pairT_std__string_int_t swig_types[182] +#define SWIGTYPE_p_std__pairT_std__string_libtorrent__bdecode_node_t swig_types[183] +#define SWIGTYPE_p_std__pairT_std__string_std__string_t swig_types[184] +#define SWIGTYPE_p_std__runtime_error swig_types[185] +#define SWIGTYPE_p_std__vectorT_int_t swig_types[186] +#define SWIGTYPE_p_std__vectorT_libtorrent__alert_p_t swig_types[187] +#define SWIGTYPE_p_std__vectorT_libtorrent__announce_entry_t swig_types[188] +#define SWIGTYPE_p_std__vectorT_libtorrent__dht_lookup_t swig_types[189] +#define SWIGTYPE_p_std__vectorT_libtorrent__dht_routing_bucket_t swig_types[190] +#define SWIGTYPE_p_std__vectorT_libtorrent__entry_t swig_types[191] +#define SWIGTYPE_p_std__vectorT_libtorrent__file_slice_t swig_types[192] +#define SWIGTYPE_p_std__vectorT_libtorrent__partial_piece_info_t swig_types[193] +#define SWIGTYPE_p_std__vectorT_libtorrent__peer_connection_handle_t swig_types[194] +#define SWIGTYPE_p_std__vectorT_libtorrent__peer_info_t swig_types[195] +#define SWIGTYPE_p_std__vectorT_libtorrent__peer_list_entry_t swig_types[196] +#define SWIGTYPE_p_std__vectorT_libtorrent__sha1_hash_t swig_types[197] +#define SWIGTYPE_p_std__vectorT_libtorrent__stats_metric_t swig_types[198] +#define SWIGTYPE_p_std__vectorT_libtorrent__torrent_handle_t swig_types[199] +#define SWIGTYPE_p_std__vectorT_libtorrent__torrent_status_t swig_types[200] +#define SWIGTYPE_p_std__vectorT_libtorrent__web_seed_entry_t swig_types[201] +#define SWIGTYPE_p_std__vectorT_long_long_t swig_types[202] +#define SWIGTYPE_p_std__vectorT_signed_char_t swig_types[203] +#define SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t swig_types[204] +#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_boost__functionT_bool_fudp__endpoint_const_R_libtorrent__bdecode_node_const_R_libtorrent__entry_RF_t_t_t swig_types[205] +#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_dht_extension_handler_listener_p_t_t swig_types[206] +#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_int_t_t swig_types[207] +#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t swig_types[208] +#define SWIGTYPE_p_std__vectorT_std__string_t swig_types[209] +#define SWIGTYPE_p_std__vectorT_tcp__endpoint_t swig_types[210] +#define SWIGTYPE_p_string_type swig_types[211] +#define SWIGTYPE_p_swig_peer_plugin swig_types[212] +#define SWIGTYPE_p_swig_plugin swig_types[213] +#define SWIGTYPE_p_swig_storage swig_types[214] +#define SWIGTYPE_p_swig_storage_constructor swig_types[215] +#define SWIGTYPE_p_swig_torrent_plugin swig_types[216] +#define SWIGTYPE_p_tailqueueT_libtorrent__disk_io_job_t swig_types[217] +#define SWIGTYPE_p_tcp__endpoint swig_types[218] +#define SWIGTYPE_p_udp__endpoint swig_types[219] +#define SWIGTYPE_p_unsigned_char swig_types[220] +#define SWIGTYPE_p_unsigned_int swig_types[221] +#define SWIGTYPE_p_unsigned_long_long swig_types[222] +#define SWIGTYPE_p_unsigned_short swig_types[223] +#define SWIGTYPE_p_unspecified_bool_type swig_types[224] +#define SWIGTYPE_p_value_type swig_types[225] +static swig_type_info *swig_types[227]; +static swig_module_info swig_module = {swig_types, 226, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -1762,7 +1761,6 @@ static swig_module_info swig_module = {swig_types, 227, 0, 0, 0, 0}; #include "libtorrent/peer_info.hpp" #include "libtorrent/session_status.hpp" #include "libtorrent/session_settings.hpp" -#include "libtorrent/aux_/session_settings.hpp" #include "libtorrent/settings_pack.hpp" #include "libtorrent/peer_class.hpp" #include "libtorrent/peer_class_type_filter.hpp" @@ -3141,7 +3139,6 @@ SWIGV8_ClientData _exports_picker_log_alert_clientData; SWIGV8_ClientData _exports_peer_info_clientData; SWIGV8_ClientData _exports_peer_list_entry_clientData; SWIGV8_ClientData _exports_dht_settings_clientData; -SWIGV8_ClientData _exports_session_settings_clientData; SWIGV8_ClientData _exports_settings_pack_clientData; SWIGV8_ClientData _exports_peer_class_info_clientData; SWIGV8_ClientData _exports_peer_class_clientData; @@ -79376,382 +79373,6 @@ static void _wrap_delete_dht_settings(v8::Persistent object, void *pa } -static SwigV8ReturnValue _wrap_initialize_default_settings(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - if(args.Length() != 1) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_initialize_default_settings."); - - res1 = SWIG_ConvertPtr(args[0], &argp1, SWIGTYPE_p_libtorrent__aux__session_settings, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "initialize_default_settings" "', argument " "1"" of type '" "libtorrent::aux::session_settings &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "initialize_default_settings" "', argument " "1"" of type '" "libtorrent::aux::session_settings &""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - libtorrent::initialize_default_settings(*arg1); - jsresult = SWIGV8_UNDEFINED(); - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_set_str(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - std::string *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 = SWIG_OLDOBJ ; - - if(args.Length() != 2) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_set_str."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_set_str" "', argument " "1"" of type '" "libtorrent::aux::session_settings *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_set_str" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(args[1], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "session_settings_set_str" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "session_settings_set_str" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - (arg1)->set_str(arg2,(std::string const &)*arg3); - jsresult = SWIGV8_UNDEFINED(); - - - if (SWIG_IsNewObj(res3)) delete arg3; - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_get_str(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - std::string *result = 0 ; - - if(args.Length() != 1) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_get_str."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_get_str" "', argument " "1"" of type '" "libtorrent::aux::session_settings const *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_get_str" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - result = (std::string *) &((libtorrent::aux::session_settings const *)arg1)->get_str(arg2); - jsresult = SWIG_From_std_string((std::string)(*result)); - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_set_int(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - - if(args.Length() != 2) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_set_int."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_set_int" "', argument " "1"" of type '" "libtorrent::aux::session_settings *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_set_int" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - ecode3 = SWIG_AsVal_int(args[1], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "session_settings_set_int" "', argument " "3"" of type '" "int""'"); - } - arg3 = (int)(val3); - (arg1)->set_int(arg2,arg3); - jsresult = SWIGV8_UNDEFINED(); - - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_get_int(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int result; - - if(args.Length() != 1) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_get_int."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_get_int" "', argument " "1"" of type '" "libtorrent::aux::session_settings const *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_get_int" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - result = (int)((libtorrent::aux::session_settings const *)arg1)->get_int(arg2); - jsresult = SWIG_From_int((int)(result)); - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_set_bool(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - bool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - bool val3 ; - int ecode3 = 0 ; - - if(args.Length() != 2) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_set_bool."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_set_bool" "', argument " "1"" of type '" "libtorrent::aux::session_settings *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_set_bool" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - ecode3 = SWIG_AsVal_bool(args[1], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "session_settings_set_bool" "', argument " "3"" of type '" "bool""'"); - } - arg3 = (bool)(val3); - (arg1)->set_bool(arg2,arg3); - jsresult = SWIGV8_UNDEFINED(); - - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_session_settings_get_bool(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = (libtorrent::aux::session_settings *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - bool result; - - if(args.Length() != 1) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_session_settings_get_bool."); - - res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_libtorrent__aux__session_settings, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "session_settings_get_bool" "', argument " "1"" of type '" "libtorrent::aux::session_settings const *""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - ecode2 = SWIG_AsVal_int(args[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "session_settings_get_bool" "', argument " "2"" of type '" "int""'"); - } - arg2 = (int)(val2); - result = (bool)((libtorrent::aux::session_settings const *)arg1)->get_bool(arg2); - jsresult = SWIG_From_bool((bool)(result)); - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -static SwigV8ReturnValue _wrap_new_session_settings(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle self = args.Holder(); - libtorrent::aux::session_settings *result; - if(args.Length() != 0) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_new_session_settings."); - result = (libtorrent::aux::session_settings *)new libtorrent::aux::session_settings(); - - - - SWIGV8_SetPrivateData(self, result, SWIGTYPE_p_libtorrent__aux__session_settings, SWIG_POINTER_OWN); - SWIGV8_RETURN(self); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - -#if (SWIG_V8_VERSION < 0x031710) -static void _wrap_delete_session_settings(v8::Persistent object, void *parameter) { - SWIGV8_Proxy *proxy = static_cast(parameter); -#elif (SWIG_V8_VERSION < 0x031900) - static void _wrap_delete_session_settings(v8::Isolate *isolate, v8::Persistent object, void *parameter) { - SWIGV8_Proxy *proxy = static_cast(parameter); -#elif (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION) - static void _wrap_delete_session_settings(v8::Isolate *isolate, v8::Persistent< v8::Object> *object, SWIGV8_Proxy *proxy) { -#else - static void _wrap_delete_session_settings(const v8::WeakCallbackData &data) { - v8::Local object = data.GetValue(); - SWIGV8_Proxy *proxy = data.GetParameter(); -#endif - - if(proxy->swigCMemOwn && proxy->swigCObject) { - libtorrent::aux::session_settings * arg1 = (libtorrent::aux::session_settings *)proxy->swigCObject; - delete arg1; - } - delete proxy; - -#if (SWIG_V8_VERSION < 0x031710) - object.Dispose(); -#elif (SWIG_V8_VERSION < 0x031900) - object.Dispose(isolate); -#elif (SWIG_V8_VERSION < 0x032100) - object->Dispose(isolate); -#elif (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION) - object->Dispose(); -#else - object.Clear(); -#endif - } - - -static SwigV8ReturnValue _wrap_save_settings_to_dict(const SwigV8Arguments &args) { - SWIGV8_HANDLESCOPE(); - - v8::Handle jsresult; - libtorrent::aux::session_settings *arg1 = 0 ; - libtorrent::entry::dictionary_type *arg2 = 0 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - if(args.Length() != 2) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_save_settings_to_dict."); - - res1 = SWIG_ConvertPtr(args[0], &argp1, SWIGTYPE_p_libtorrent__aux__session_settings, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "save_settings_to_dict" "', argument " "1"" of type '" "libtorrent::aux::session_settings const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "save_settings_to_dict" "', argument " "1"" of type '" "libtorrent::aux::session_settings const &""'"); - } - arg1 = (libtorrent::aux::session_settings *)(argp1); - res2 = SWIG_ConvertPtr(args[1], &argp2, SWIGTYPE_p_std__mapT_std__string_libtorrent__entry_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "save_settings_to_dict" "', argument " "2"" of type '" "libtorrent::entry::dictionary_type &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "save_settings_to_dict" "', argument " "2"" of type '" "libtorrent::entry::dictionary_type &""'"); - } - arg2 = (libtorrent::entry::dictionary_type *)(argp2); - libtorrent::save_settings_to_dict((libtorrent::aux::session_settings const &)*arg1,*arg2); - jsresult = SWIGV8_UNDEFINED(); - - - - SWIGV8_RETURN(jsresult); - - goto fail; -fail: - SWIGV8_RETURN(SWIGV8_UNDEFINED()); -} - - static SwigV8ReturnValue _wrap_setting_by_name(const SwigV8Arguments &args) { SWIGV8_HANDLESCOPE(); @@ -104891,7 +104512,7 @@ static SwigV8ReturnValue _wrap_LIBTORRENT_REVISION_SHA1(v8::Local pr v8::Handle jsresult; - jsresult = SWIG_FromCharPtr((const char *)"896bcaf3dee0fb3ff5152636727fd8827fb1de6f"); + jsresult = SWIG_FromCharPtr((const char *)"6ad2b0709e8453765b913a7a035d769e14f57044"); SWIGV8_RETURN_INFO(jsresult, info); @@ -104906,7 +104527,7 @@ static SwigV8ReturnValue _wrap_JLIBTORRENT_REVISION_SHA1(v8::Local p v8::Handle jsresult; - jsresult = SWIG_FromCharPtr((const char *)"f673ea18495c467b4e2e196cf4b504d9b9b57893"); + jsresult = SWIG_FromCharPtr((const char *)"5b0465ca135a5457cafee7d11eeef64fdbd8dd87"); SWIGV8_RETURN_INFO(jsresult, info); @@ -110169,7 +109790,6 @@ static swig_type_info _swigt__p_libtorrent__add_torrent_params = {"_p_libtorrent static swig_type_info _swigt__p_libtorrent__alert = {"_p_libtorrent__alert", "p_libtorrent__alert|std::vector< libtorrent::alert * >::value_type|libtorrent::alert *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_libtorrent__announce_entry = {"_p_libtorrent__announce_entry", "libtorrent::announce_entry *|std::vector< libtorrent::announce_entry >::value_type *|p_libtorrent__announce_entry", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_libtorrent__anonymous_mode_alert = {"_p_libtorrent__anonymous_mode_alert", "p_libtorrent__anonymous_mode_alert|libtorrent::anonymous_mode_alert *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_libtorrent__aux__session_settings = {"_p_libtorrent__aux__session_settings", "libtorrent::aux::session_settings *|p_libtorrent__aux__session_settings", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_libtorrent__bdecode_node = {"_p_libtorrent__bdecode_node", "libtorrent::bdecode_node *|p_libtorrent__bdecode_node", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_libtorrent__bitfield = {"_p_libtorrent__bitfield", "libtorrent::bitfield *|p_libtorrent__bitfield", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_libtorrent__block_downloading_alert = {"_p_libtorrent__block_downloading_alert", "p_libtorrent__block_downloading_alert|libtorrent::block_downloading_alert *", 0, 0, (void*)0, 0}; @@ -110398,7 +110018,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_libtorrent__alert, &_swigt__p_libtorrent__announce_entry, &_swigt__p_libtorrent__anonymous_mode_alert, - &_swigt__p_libtorrent__aux__session_settings, &_swigt__p_libtorrent__bdecode_node, &_swigt__p_libtorrent__bitfield, &_swigt__p_libtorrent__block_downloading_alert, @@ -110627,7 +110246,6 @@ static swig_cast_info _swigc__p_libtorrent__add_torrent_params[] = { {&_swigt__ static swig_cast_info _swigc__p_libtorrent__alert[] = { {&_swigt__p_libtorrent__external_ip_alert, _p_libtorrent__external_ip_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__listen_failed_alert, _p_libtorrent__listen_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__listen_succeeded_alert, _p_libtorrent__listen_succeeded_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_error_alert, _p_libtorrent__dht_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__incoming_connection_alert, _p_libtorrent__incoming_connection_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_bootstrap_alert, _p_libtorrent__dht_bootstrap_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__portmap_alert, _p_libtorrent__portmap_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__portmap_error_alert, _p_libtorrent__portmap_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__add_torrent_alert, _p_libtorrent__add_torrent_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_need_cert_alert, _p_libtorrent__torrent_need_cert_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_error_alert, _p_libtorrent__torrent_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__cache_flushed_alert, _p_libtorrent__cache_flushed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_blocked_alert, _p_libtorrent__peer_blocked_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__fastresume_rejected_alert, _p_libtorrent__fastresume_rejected_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__metadata_received_alert, _p_libtorrent__metadata_received_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__metadata_failed_alert, _p_libtorrent__metadata_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__file_error_alert, _p_libtorrent__file_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__url_seed_alert, _p_libtorrent__url_seed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_checked_alert, _p_libtorrent__torrent_checked_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_resumed_alert, _p_libtorrent__torrent_resumed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_paused_alert, _p_libtorrent__torrent_paused_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__save_resume_data_failed_alert, _p_libtorrent__save_resume_data_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_delete_failed_alert, _p_libtorrent__torrent_delete_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_deleted_alert, _p_libtorrent__torrent_deleted_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__state_changed_alert, _p_libtorrent__state_changed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__file_rename_failed_alert, _p_libtorrent__file_rename_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__file_renamed_alert, _p_libtorrent__file_renamed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__file_completed_alert, _p_libtorrent__file_completed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_removed_alert, _p_libtorrent__torrent_removed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_added_alert, _p_libtorrent__torrent_added_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__storage_moved_failed_alert, _p_libtorrent__storage_moved_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__lsd_peer_alert, _p_libtorrent__lsd_peer_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_alert, _p_libtorrent__peer_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__trackerid_alert, _p_libtorrent__trackerid_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__tracker_error_alert, _p_libtorrent__tracker_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__tracker_alert, _p_libtorrent__tracker_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_disconnected_alert, _p_libtorrent__peer_disconnected_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__invalid_request_alert, _p_libtorrent__invalid_request_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_finished_alert, _p_libtorrent__torrent_finished_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__piece_finished_alert, _p_libtorrent__piece_finished_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__request_dropped_alert, _p_libtorrent__request_dropped_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__block_timeout_alert, _p_libtorrent__block_timeout_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__block_finished_alert, _p_libtorrent__block_finished_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__storage_moved_alert, _p_libtorrent__storage_moved_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_put_alert, _p_libtorrent__dht_put_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__i2p_alert, _p_libtorrent__i2p_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__lsd_error_alert, _p_libtorrent__lsd_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__incoming_request_alert, _p_libtorrent__incoming_request_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_pkt_alert, _p_libtorrent__dht_pkt_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_connect_alert, _p_libtorrent__peer_connect_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_error_alert, _p_libtorrent__peer_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_snubbed_alert, _p_libtorrent__peer_snubbed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_unsnubbed_alert, _p_libtorrent__peer_unsnubbed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_ban_alert, _p_libtorrent__peer_ban_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__hash_failed_alert, _p_libtorrent__hash_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__scrape_failed_alert, _p_libtorrent__scrape_failed_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_alert, _p_libtorrent__torrent_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__udp_error_alert, _p_libtorrent__udp_error_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_update_alert, _p_libtorrent__torrent_update_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__anonymous_mode_alert, _p_libtorrent__anonymous_mode_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__stats_alert, _p_libtorrent__stats_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__save_resume_data_alert, _p_libtorrent__save_resume_data_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__alert, 0, 0, 0}, {&_swigt__p_libtorrent__picker_log_alert, _p_libtorrent__picker_log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__peer_log_alert, _p_libtorrent__peer_log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__torrent_log_alert, _p_libtorrent__torrent_log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__unwanted_block_alert, _p_libtorrent__unwanted_block_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__block_downloading_alert, _p_libtorrent__block_downloading_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__tracker_announce_alert, _p_libtorrent__tracker_announce_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_reply_alert, _p_libtorrent__dht_reply_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__tracker_reply_alert, _p_libtorrent__tracker_reply_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__read_piece_alert, _p_libtorrent__read_piece_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__performance_alert, _p_libtorrent__performance_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__tracker_warning_alert, _p_libtorrent__tracker_warning_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__scrape_reply_alert, _p_libtorrent__scrape_reply_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__portmap_log_alert, _p_libtorrent__portmap_log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_announce_alert, _p_libtorrent__dht_announce_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_get_peers_alert, _p_libtorrent__dht_get_peers_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__state_update_alert, _p_libtorrent__state_update_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__mmap_cache_alert, _p_libtorrent__mmap_cache_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__session_stats_alert, _p_libtorrent__session_stats_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_immutable_item_alert, _p_libtorrent__dht_immutable_item_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_mutable_item_alert, _p_libtorrent__dht_mutable_item_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_outgoing_get_peers_alert, _p_libtorrent__dht_outgoing_get_peers_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__log_alert, _p_libtorrent__log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_stats_alert, _p_libtorrent__dht_stats_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_log_alert, _p_libtorrent__dht_log_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_get_peers_reply_alert, _p_libtorrent__dht_get_peers_reply_alertTo_p_libtorrent__alert, 0, 0}, {&_swigt__p_libtorrent__dht_direct_response_alert, _p_libtorrent__dht_direct_response_alertTo_p_libtorrent__alert, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_libtorrent__announce_entry[] = { {&_swigt__p_libtorrent__announce_entry, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_libtorrent__anonymous_mode_alert[] = { {&_swigt__p_libtorrent__anonymous_mode_alert, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_libtorrent__aux__session_settings[] = { {&_swigt__p_libtorrent__aux__session_settings, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_libtorrent__bdecode_node[] = { {&_swigt__p_libtorrent__bdecode_node, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_libtorrent__bitfield[] = { {&_swigt__p_libtorrent__bitfield, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_libtorrent__block_downloading_alert[] = { {&_swigt__p_libtorrent__block_downloading_alert, 0, 0, 0},{0, 0, 0, 0}}; @@ -110856,7 +110474,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_libtorrent__alert, _swigc__p_libtorrent__announce_entry, _swigc__p_libtorrent__anonymous_mode_alert, - _swigc__p_libtorrent__aux__session_settings, _swigc__p_libtorrent__bdecode_node, _swigc__p_libtorrent__bitfield, _swigc__p_libtorrent__block_downloading_alert, @@ -112416,13 +112033,6 @@ _exports_dht_settings_clientData.dtor = _wrap_delete_dht_settings; if (SWIGTYPE_p_libtorrent__dht_settings->clientdata == 0) { SWIGTYPE_p_libtorrent__dht_settings->clientdata = &_exports_dht_settings_clientData; } -/* Name: _exports_session_settings, Type: p_libtorrent__aux__session_settings, Dtor: _wrap_delete_session_settings */ -v8::Handle _exports_session_settings_class = SWIGV8_CreateClassTemplate("_exports_session_settings"); -SWIGV8_SET_CLASS_TEMPL(_exports_session_settings_clientData.class_templ, _exports_session_settings_class); -_exports_session_settings_clientData.dtor = _wrap_delete_session_settings; -if (SWIGTYPE_p_libtorrent__aux__session_settings->clientdata == 0) { - SWIGTYPE_p_libtorrent__aux__session_settings->clientdata = &_exports_session_settings_clientData; -} /* Name: _exports_settings_pack, Type: p_libtorrent__settings_pack, Dtor: _wrap_delete_settings_pack */ v8::Handle _exports_settings_pack_class = SWIGV8_CreateClassTemplate("_exports_settings_pack"); SWIGV8_SET_CLASS_TEMPL(_exports_settings_pack_clientData.class_templ, _exports_settings_pack_class); @@ -114159,12 +113769,6 @@ SWIGV8_AddMemberVariable(_exports_dht_settings_class, "block_timeout", _wrap_dht SWIGV8_AddMemberVariable(_exports_dht_settings_class, "block_ratelimit", _wrap_dht_settings_block_ratelimit_get, _wrap_dht_settings_block_ratelimit_set); SWIGV8_AddMemberVariable(_exports_dht_settings_class, "read_only", _wrap_dht_settings_read_only_get, _wrap_dht_settings_read_only_set); SWIGV8_AddMemberVariable(_exports_dht_settings_class, "item_lifetime", _wrap_dht_settings_item_lifetime_get, _wrap_dht_settings_item_lifetime_set); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "set_str", _wrap_session_settings_set_str); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "get_str", _wrap_session_settings_get_str); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "set_int", _wrap_session_settings_set_int); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "get_int", _wrap_session_settings_get_int); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "set_bool", _wrap_session_settings_set_bool); -SWIGV8_AddMemberFunction(_exports_session_settings_class, "get_bool", _wrap_session_settings_get_bool); SWIGV8_AddMemberFunction(_exports_settings_pack_class, "set_str", _wrap_settings_pack_set_str); SWIGV8_AddMemberFunction(_exports_settings_pack_class, "set_int", _wrap_settings_pack_set_int); SWIGV8_AddMemberFunction(_exports_settings_pack_class, "set_bool", _wrap_settings_pack_set_bool); @@ -117312,12 +116916,6 @@ _exports_dht_settings_class_0->SetCallHandler(_wrap_new_dht_settings); _exports_dht_settings_class_0->Inherit(_exports_dht_settings_class); _exports_dht_settings_class_0->SetHiddenPrototype(true); v8::Handle _exports_dht_settings_obj = _exports_dht_settings_class_0->GetFunction(); -/* Class: session_settings (_exports_session_settings) */ -v8::Handle _exports_session_settings_class_0 = SWIGV8_CreateClassTemplate("session_settings"); -_exports_session_settings_class_0->SetCallHandler(_wrap_new_session_settings); -_exports_session_settings_class_0->Inherit(_exports_session_settings_class); -_exports_session_settings_class_0->SetHiddenPrototype(true); -v8::Handle _exports_session_settings_obj = _exports_session_settings_class_0->GetFunction(); /* Class: settings_pack (_exports_settings_pack) */ v8::Handle _exports_settings_pack_class_0 = SWIGV8_CreateClassTemplate("settings_pack"); _exports_settings_pack_class_0->SetCallHandler(_wrap_new_settings_pack); @@ -118668,8 +118266,6 @@ SWIGV8_AddStaticVariable(_exports_peer_info_obj, "bw_limit", _wrap_libtorrent_pe SWIGV8_AddStaticVariable(_exports_peer_info_obj, "bw_network", _wrap_libtorrent_peer_info_bw_network, JS_veto_set_variable); SWIGV8_AddStaticVariable(_exports_peer_info_obj, "bw_disk", _wrap_libtorrent_peer_info_bw_disk, JS_veto_set_variable); SWIGV8_AddStaticVariable(_exports_peer_list_entry_obj, "banned", _wrap_libtorrent_peer_list_entry_banned, JS_veto_set_variable); -SWIGV8_AddStaticFunction(exports_obj, "initialize_default_settings", _wrap_initialize_default_settings); -SWIGV8_AddStaticFunction(exports_obj, "save_settings_to_dict", _wrap_save_settings_to_dict); SWIGV8_AddStaticFunction(exports_obj, "setting_by_name", _wrap_setting_by_name); SWIGV8_AddStaticFunction(exports_obj, "name_for_setting", _wrap_name_for_setting); SWIGV8_AddStaticVariable(_exports_settings_pack_obj, "string_type_base", _wrap_libtorrent_settings_pack_string_type_base, JS_veto_set_variable); @@ -119176,7 +118772,6 @@ exports_obj->Set(SWIGV8_SYMBOL_NEW("picker_log_alert"), _exports_picker_log_aler exports_obj->Set(SWIGV8_SYMBOL_NEW("peer_info"), _exports_peer_info_obj); exports_obj->Set(SWIGV8_SYMBOL_NEW("peer_list_entry"), _exports_peer_list_entry_obj); exports_obj->Set(SWIGV8_SYMBOL_NEW("dht_settings"), _exports_dht_settings_obj); -exports_obj->Set(SWIGV8_SYMBOL_NEW("session_settings"), _exports_session_settings_obj); exports_obj->Set(SWIGV8_SYMBOL_NEW("settings_pack"), _exports_settings_pack_obj); exports_obj->Set(SWIGV8_SYMBOL_NEW("peer_class_info"), _exports_peer_class_info_obj); exports_obj->Set(SWIGV8_SYMBOL_NEW("peer_class"), _exports_peer_class_obj);