summaryrefslogtreecommitdiff
path: root/ace/DLL.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 03:25:32 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 03:25:32 +0000
commit0b7e453059c7118a14669fb286ec58c4de453c83 (patch)
tree954b8d28e329f0a736432dee90b61647b536c4a1 /ace/DLL.h
parent2ad99c725ff2075b3a7fecd797835315923b613b (diff)
downloadATCD-0b7e453059c7118a14669fb286ec58c4de453c83.tar.gz
Wed Jun 16 22:03:29 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/DLL.h')
-rw-r--r--ace/DLL.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/DLL.h b/ace/DLL.h
index 47799d3f2ea..d2f0594de3e 100644
--- a/ace/DLL.h
+++ b/ace/DLL.h
@@ -42,7 +42,7 @@ public:
// Default constructor. By default, the <close> operation on the
// object will be invoked before it is destroyed.
- ACE_DLL (ACE_DL_TYPE dll_name,
+ ACE_DLL (const char *dll_name,
int open_mode = ACE_DEFAULT_SHLIB_MODE,
int close_on_destruction = 1);
// This constructor opens and dynamically links <dll_name>. The
@@ -53,7 +53,7 @@ public:
// loaded and <RTLD_GLOBAL>, which makes symbols available for
// relocation processing of any other DLLs.
- int open (ACE_DL_TYPE dll_name,
+ int open (const char *dll_name,
int open_mode = ACE_DEFAULT_SHLIB_MODE,
int close_on_destruction = 1);
// This method opens and dynamically links <dll_name>. The default
@@ -64,7 +64,7 @@ public:
// <RTLD_GLOBAL>, which makes symbols available for relocation
// processing of any other DLLs. Returns -1 on failure and 0 on
// success.
-
+
int close (void);
// Call to close the DLL object.
@@ -73,7 +73,7 @@ public:
// <close_on_destruction> flag is set in the constructor or <open>
// method.
- void *symbol (ACE_DL_TYPE symbol_name);
+ void *symbol (const char *symbol_name);
// If <symbol_name> is in the symbol table of the DLL a pointer to
// the <symbol_name> is returned. Otherwise, returns 0.
@@ -93,7 +93,7 @@ public:
private:
ACE_SHLIB_HANDLE handle_;
// This is a handle to the DLL.
-
+
int close_on_destruction_;
// This flag keeps track of whether we should close the handle
// automatically when the destructor runs.