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.

65 lines
1.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1991 - 1999
  3. Module Name:
  4. rpcssp.h
  5. Abstract:
  6. This file contains the interface use by the RPC runtime to access
  7. a security support package.
  8. Author:
  9. Michael Montague (mikemon) 15-Apr-1992
  10. Revision History:
  11. --*/
  12. #ifndef __RPCSSP_H__
  13. #define __RPCSSP_H__
  14. #ifdef WIN32RPC
  15. #define SECURITY_WIN32
  16. #endif // WIN32RPC
  17. #ifdef MAC
  18. #define SECURITY_MAC
  19. #endif
  20. #ifdef DOS
  21. #ifdef WIN
  22. #define SECURITY_WIN16
  23. #else // WIN
  24. #define SECURITY_DOS
  25. #endif // WIN
  26. #endif // DOS
  27. #include <security.h>
  28. typedef struct _DCE_SECURITY_INFO
  29. {
  30. unsigned long SendSequenceNumber;
  31. unsigned long ReceiveSequenceNumber;
  32. UUID AssociationUuid;
  33. } DCE_SECURITY_INFO;
  34. typedef struct _DCE_INIT_SECURITY_INFO
  35. {
  36. DCE_SECURITY_INFO DceSecurityInfo;
  37. unsigned long AuthorizationService;
  38. unsigned char PacketType;
  39. } DCE_INIT_SECURITY_INFO;
  40. typedef struct _DCE_MSG_SECURITY_INFO
  41. {
  42. unsigned long SendSequenceNumber;
  43. unsigned long ReceiveSequenceNumber;
  44. unsigned char PacketType;
  45. } DCE_MSG_SECURITY_INFO;
  46. #endif /* __RPCSSP_H__ */