J
Jenny
I am writing a program which may dynamically load *.so files as
plugin. I was looking libltdl and the one which is described here
http://www.belgeler.org/autobook/autobook-A-Simple-GNU-Linux-Module-Loader.html.
My problem is that I need to pass a object to the loaded module, but
it seems I can only pass char* as the parameter to the module whith
these APIs. Is there any other API which may let me do something like
this?
I was thinking about using SystemV share memory to do this, but the
same problem, I don't think it is suitable to handle the object with
complex data.
plugin. I was looking libltdl and the one which is described here
http://www.belgeler.org/autobook/autobook-A-Simple-GNU-Linux-Module-Loader.html.
My problem is that I need to pass a object to the loaded module, but
it seems I can only pass char* as the parameter to the module whith
these APIs. Is there any other API which may let me do something like
this?
I was thinking about using SystemV share memory to do this, but the
same problem, I don't think it is suitable to handle the object with
complex data.