MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / InternalModule

Class InternalModule

src/jrd/flu.h:43–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 {
42 private:
43 class InternalModule : public Firebird::RefCounted
44 {
45 private:
46 InternalModule(const InternalModule &im);
47 void operator=(const InternalModule &im);
48
49 public:
50 ModuleLoader::Module* handle;
51 Firebird::PathName originalName, loadName;
52
53 void* findSymbol(const Firebird::string& name)
54 {
55 if (! handle)
56 {
57 return 0;
58 }
59 return handle->findSymbol(NULL, name);
60 }
61
62 InternalModule(MemoryPool& p,
63 ModuleLoader::Module* h,
64 const Firebird::PathName& on,
65 const Firebird::PathName& ln)
66 : handle(h),
67 originalName(p, on),
68 loadName(p, ln)
69 { }
70
71 ~InternalModule();
72
73 bool operator==(const Firebird::PathName &pn) const
74 {
75 return originalName == pn || loadName == pn;
76 }
77
78 };
79
80 Firebird::RefPtr<InternalModule> interMod;
81

Callers 1

lookupModuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected