You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/11/02 18:59:59 UTC

cvs commit: httpd-2.0/modules/arch/netware mod_vhost_alias.def mod_usertrack.def mod_unique_id.def mod_status.def mod_speling.def mod_rewrite.def mod_proxy.def mod_mime_magic.def mod_info.def mod_headers.def mod_file_cache.def mod_expires.def mod_echo.def mod_cern_meta.def mod_auth_digest.def mod_auth_dbm.def mod_auth_anon.def libprews.c

bnicholes    01/11/02 09:59:59

  Added:       modules/arch/netware mod_vhost_alias.def mod_usertrack.def
                        mod_unique_id.def mod_status.def mod_speling.def
                        mod_rewrite.def mod_proxy.def mod_mime_magic.def
                        mod_info.def mod_headers.def mod_file_cache.def
                        mod_expires.def mod_echo.def mod_cern_meta.def
                        mod_auth_digest.def mod_auth_dbm.def
                        mod_auth_anon.def libprews.c
  Log:
  Added the .def files for building the external modules for NetWare.  Also
  added the NLM startup code for NLMs that require Winsock support.
  
  Revision  Changes    Path
  1.1                  httpd-2.0/modules/arch/netware/mod_vhost_alias.def
  
  Index: mod_vhost_alias.def
  ===================================================================
  EXPORT  vhost_alias_module
  
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_usertrack.def
  
  Index: mod_usertrack.def
  ===================================================================
  EXPORT  usertrack_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_unique_id.def
  
  Index: mod_unique_id.def
  ===================================================================
  EXPORT  unique_id_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_status.def
  
  Index: mod_status.def
  ===================================================================
  EXPORT  status_module
  
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_speling.def
  
  Index: mod_speling.def
  ===================================================================
  EXPORT  speling_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_rewrite.def
  
  Index: mod_rewrite.def
  ===================================================================
  EXPORT  rewrite_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_proxy.def
  
  Index: mod_proxy.def
  ===================================================================
  EXPORT  proxy_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_mime_magic.def
  
  Index: mod_mime_magic.def
  ===================================================================
  EXPORT  mime_magic_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_info.def
  
  Index: mod_info.def
  ===================================================================
  EXPORT  info_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_headers.def
  
  Index: mod_headers.def
  ===================================================================
  EXPORT  headers_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_file_cache.def
  
  Index: mod_file_cache.def
  ===================================================================
  EXPORT  file_cache_module
  
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_expires.def
  
  Index: mod_expires.def
  ===================================================================
  EXPORT  expires_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_echo.def
  
  Index: mod_echo.def
  ===================================================================
  EXPORT  echo_module
  
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_cern_meta.def
  
  Index: mod_cern_meta.def
  ===================================================================
  EXPORT  cern_meta_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_auth_digest.def
  
  Index: mod_auth_digest.def
  ===================================================================
  EXPORT  auth_digest_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_auth_dbm.def
  
  Index: mod_auth_dbm.def
  ===================================================================
  EXPORT  auth_dbm_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/mod_auth_anon.def
  
  Index: mod_auth_anon.def
  ===================================================================
  EXPORT  auth_anon_module
  
  
  
  1.1                  httpd-2.0/modules/arch/netware/libprews.c
  
  Index: libprews.c
  ===================================================================
  /*------------------------------------------------------------------
    These functions are to be called when the shared NLM starts and
    stops.  By using these functions instead of defining a main()
    and calling ExitThread(TSR_THREAD, 0), the load time of the
    shared NLM is faster and memory size reduced.
     
    You may also want to override these in your own Apache module
    to do any cleanup other than the mechanism Apache modules
    provide.
  ------------------------------------------------------------------*/
  #include <netware.h>
  //#include "stddef.h"
  #include "ws2nlm.h"
  
  int _NonAppStart
  (
      void        *NLMHandle,
      void        *errorScreen,
      const char  *cmdLine,
      const char  *loadDirPath,
      size_t      uninitializedDataLength,
      void        *NLMFileHandle,
      int         (*readRoutineP)( int conn, void *fileHandle, size_t offset,
                      size_t nbytes, size_t *bytesRead, void *buffer ),
      size_t      customDataOffset,
      size_t      customDataSize,
      int         messageCount,
      const char  **messages
  )
  {
  #pragma unused(cmdLine)
  #pragma unused(loadDirPath)
  #pragma unused(uninitializedDataLength)
  #pragma unused(NLMFileHandle)
  #pragma unused(readRoutineP)
  #pragma unused(customDataOffset)
  #pragma unused(customDataSize)
  #pragma unused(messageCount)
  #pragma unused(messages)
  
      WSADATA wsaData;
      
      return WSAStartup((WORD) MAKEWORD(2, 0), &wsaData);
  }
  
  void _NonAppStop( void )
  {
      WSACleanup();
  }
  
  int  _NonAppCheckUnload( void )
  {
  	return 0;
  }