|
Module Support! How does it work?
Hey everyone,
I have been working on an application for a while, and would like others to be able to add modules for it. The problem is, I don't know how to implement them.
I am using the dlopen() library set. I understand how to load modules into the program and how to execute the code. The problem is, I want these modules to be able to modify ANY part of the program. For example, if there are 100 functions in my application, I want the program to be able to modify any single one of those functions to do something different. Is there a way to do this, without having to make every single function in my code a function pointer?
Btw, im writing this on Unix :-)
Thanks a lot!
|