Branch: refs/heads/dlopen Home: https://github.com/fabbione/kronosnet Commit: 868eb7816288259f66724f2a9938cb91fdaf5953 https://github.com/fabbione/kronosnet/commit/868eb7816288259f66724f2a9938cb9... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2017-08-30 (Wed, 30 Aug 2017)
Changed paths: M libknet/handle.c M libknet/internals.h
Log Message: ----------- [handle] remove knet handle tracker
reload of shlib should be done on a per handle base to avoid complex global functions.
For example, if you application is using 2 knet_h and you need to reload libbz2, then switch both knet_h to use another compression method (or none) and switch back to libbz2.
Similar can be done with nss/openssl once openssl support is added.
A global function to reload all library would a very complex error reporting mechanism and could leave some handles improperly configured.
The application would have a better understanding of the needs at any given time.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com