Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3 KiB

  1. //--------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation, 1997 - 1999
  3. //
  4. // server.h
  5. //
  6. //--------------------------------------------------------------------
  7. //--------------------------------------------------------------------
  8. // Constants:
  9. //--------------------------------------------------------------------
  10. #ifndef CHAR_0
  11. #define CHAR_0 '0'
  12. #define CHAR_9 '9'
  13. #endif
  14. #ifndef CHAR_A
  15. #define CHAR_A 'A'
  16. #define CHAR_F 'F'
  17. #endif
  18. //--------------------------------------------------------------------
  19. // Functions:
  20. //--------------------------------------------------------------------
  21. extern DWORD CleanupECB( EXTENSION_CONTROL_BLOCK *pECB );
  22. extern DWORD WINAPI ReceiveThreadProc( void *pvServerInfo );
  23. extern BOOL CheckStartReceiveThread( SERVER_INFO *pServerInfo,
  24. DWORD *pdwStatus );
  25. extern BOOL SubmitNewRead( SERVER_INFO *pServerInfo,
  26. SERVER_OVERLAPPED *pOverlapped,
  27. DWORD *pdwStatus );
  28. extern BOOL StartAsyncClientRead( EXTENSION_CONTROL_BLOCK *pECB,
  29. SERVER_CONNECTION *pConn,
  30. DWORD *pdwStatus );