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.

94 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. ipsecspd.h
  5. Abstract:
  6. This module contains all of the code prototypes
  7. to drive the IPSecSPD Service.
  8. Author:
  9. abhisheV 30-September-1999
  10. Environment
  11. User Level: Win32
  12. Revision History:
  13. --*/
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #define SERVICE_CONTROL_NEW_LOCAL_POLICY 129
  18. #define SERVICE_CONTROL_FORCED_POLICY_RELOAD 130
  19. VOID WINAPI
  20. IPSecSPDServiceMain(
  21. IN DWORD dwArgc,
  22. IN LPTSTR * lpszArgv
  23. );
  24. DWORD
  25. IPSecSPDUpdateStatus(
  26. );
  27. DWORD
  28. IPSecSPDControlHandler(
  29. IN DWORD dwOpCode,
  30. IN DWORD dwEventType,
  31. IN LPVOID lpEventData,
  32. IN LPVOID lpContext
  33. );
  34. VOID
  35. IPSecSPDShutdown(
  36. IN DWORD dwErrorCode
  37. );
  38. VOID
  39. ClearSPDGlobals(
  40. );
  41. VOID
  42. ClearPAStoreGlobals(
  43. );
  44. VOID
  45. InitMiscGlobals(
  46. );
  47. DWORD
  48. SetSpdStateOnError(
  49. DWORD dwPolicySource,
  50. SPD_ACTION SpdAction,
  51. DWORD ActionError,
  52. SPD_STATE * pSpdState
  53. );
  54. BOOL
  55. InAcceptableState(
  56. SPD_STATE SpdState
  57. );
  58. #ifdef __cplusplus
  59. }
  60. #endif