00001 #ifndef __XRDSYSPLUGIN__
00002 #define __XRDSYSPLUGIN__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 class XrdSysError;
00016
00017 class XrdSysPlugin
00018 {
00019 public:
00020
00021 void *getPlugin(const char *pname, int errok=0);
00022 void *getPlugin(const char *pname, int errok, bool global);
00023
00024 XrdSysPlugin(XrdSysError *erp, const char *path)
00025 {eDest = erp; libPath = path; libHandle = 0;}
00026 ~XrdSysPlugin();
00027
00028 private:
00029
00030 XrdSysError *eDest;
00031 const char *libPath;
00032 void *libHandle;
00033 };
00034 #endif