linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06592
[Bug 1130835] Re: Allow TTH searchs on the bloom plugin to other plugins
Lua interface for the bloom plugin. It's defined on a different module
so it will be loaded only when explicitly imported.
Current caveats:
It's necessary to pass around the PM object since I couldn't get a valid core with the method available in lua.i
Swig with lua and shared_ptr don't like each other so I had to use .get() when using the getBM method. This is really bad but I couldn't get around it.
Other than that I tried the resulting adch++ and it worked well :D
** Patch added: "3/3: Lua interface for the Bloom plugin. Copyright assigned to Jacek Sieka and stuff xD"
https://bugs.launchpad.net/adchpp/+bug/1130835/+attachment/3540965/+files/bloom_lua.patch
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1130835
Title:
Allow TTH searchs on the bloom plugin to other plugins
Status in ADCH++:
New
Bug description:
It would be very useful to be able to query the BLOOM filters of the
users over other plugins (this includes at least lua). The attached
patch adds a hasTTH method to the BLOOM plugin interface so other
plugins can do this request.
I intend to add also an extra lua library for the BLOOM plugin so this
information can be requested from the lua interface.
To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1130835/+subscriptions
References