void * fake_dlsym(const std::string &sym) { debug1 << "Asked for " << sym << endl; void *ptr = NULL; if((ptr = database_dlsym(sym)) != NULL) return ptr; debug1 << "fake_dlsym can't find symbol " << sym << endl; return NULL; }
void * fake_dlsym(const std::string &sym) { void *ptr = NULL; if((ptr = plot_dlsym(sym)) != NULL) return ptr; if((ptr = operator_dlsym(sym)) != NULL) return ptr; if((ptr = database_dlsym(sym)) != NULL) return ptr; return NULL; }