ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/engine SOAPTransportFactory.cpp
Date Tue, 03 Aug 2004 02:15:22 GMT
samisa      2004/08/02 19:15:22

  Modified:    c/src/engine SOAPTransportFactory.cpp
  Log:
  Added platform support
  
  Revision  Changes    Path
  1.12      +12 -0     ws-axis/c/src/engine/SOAPTransportFactory.cpp
  
  Index: SOAPTransportFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/SOAPTransportFactory.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SOAPTransportFactory.cpp	2 Aug 2004 02:44:25 -0000	1.11
  +++ SOAPTransportFactory.cpp	3 Aug 2004 02:15:21 -0000	1.12
  @@ -73,7 +73,13 @@
           else
           {
               void (*initializeLibrary) (void);
  +#if defined(USE_LTDL)
  +            initializeLibrary = (void (*)(void))lt_dlsym(m_LibHandler, INIT_FUNCTION);
  +#elif defined(WIN32)
  +            initializeLibrary = (void (*)(void))GetProcAddress(m_LibHandler, INIT_FUNCTION);
  +#else
               initializeLibrary = (void (*)(void))dlsym(m_LibHandler, INIT_FUNCTION);
  +#endif
               if (initializeLibrary)
                    (*initializeLibrary)();
               return AXIS_SUCCESS;
  @@ -91,7 +97,13 @@
   int SOAPTransportFactory::uninitialize()
   {
               void (*uninitializeLibrary) (void);
  +#if defined(USE_LTDL)
  +            uninitializeLibrary = (void (*)(void))lt_dlsym(m_LibHandler, UNINIT_FUNCTION);
  +#elif defined(WIN32)
  +            uninitializeLibrary = (void (*)(void))GetProcAddress(m_LibHandler, UNINIT_FUNCTION);
  +#else
               uninitializeLibrary = (void (*)(void))dlsym(m_LibHandler, UNINIT_FUNCTION);
  +#endif
               if (uninitializeLibrary)
                    (*uninitializeLibrary)();
   	return unloadLib();
  
  
  

Mime
View raw message