dlopen 与插件

dlopen(path, mode)加载动态库

动态库创建:

gcc -fPIC -shared

 

插件:

1.配置是否有检查。conf

2.读取配置

3.有插件则函数指针赋值,否则赋值为null

4 调用函数指针

posted on 2014-07-14 11:06  jsy306  阅读(252)  评论(0)    收藏  举报

导航