Source code of Windows XP (NT5)
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.

77 lines
1.2 KiB

  1. //============================================================================
  2. // Copyright (c) 1995, Microsoft Corporation
  3. //
  4. // File: work.h
  5. //
  6. // History:
  7. // Abolade Gbadegesin August 31, 1995 Created
  8. //
  9. // Worker function declarations
  10. //============================================================================
  11. #ifndef _WORK_H_
  12. #define _WORK_H_
  13. typedef struct _INPUT_CONTEXT {
  14. DWORD IC_InterfaceIndex;
  15. DWORD IC_AddrIndex;
  16. SOCKADDR_IN IC_InputSource;
  17. DWORD IC_InputLength;
  18. BYTE IC_InputPacket[MAX_PACKET_SIZE];
  19. } INPUT_CONTEXT, *PINPUT_CONTEXT;
  20. VOID
  21. CallbackFunctionNetworkEvents(
  22. PVOID pvContext,
  23. BOOLEAN NotUsed
  24. );
  25. VOID
  26. WorkerFunctionNetworkEvents(
  27. PVOID pvContextNotused
  28. );
  29. DWORD
  30. ProcessSocket(
  31. PIF_TABLE_ENTRY pite,
  32. DWORD dwAddrIndex,
  33. PIF_TABLE pTable
  34. );
  35. VOID
  36. WorkerFunctionProcessInput(
  37. PVOID pContext
  38. );
  39. VOID
  40. ProcessRequest(
  41. PVOID pContext
  42. );
  43. VOID
  44. ProcessReply(
  45. PVOID pContext
  46. );
  47. #if DBG
  48. VOID
  49. CallbackFunctionMibDisplay(
  50. PVOID pContext,
  51. BOOLEAN NotUsed
  52. );
  53. VOID
  54. WorkerFunctionMibDisplay(
  55. PVOID pContext
  56. );
  57. #endif //if DBG
  58. #endif // _WORK_H_