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.

50 lines
1.1 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: radcommon.h
  4. //
  5. // Synopsis: This file holds the global declarations for the
  6. // EAS RADIUS protocol component
  7. //
  8. //
  9. // History: 11/13/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _RADCOMMON_H_
  16. #define _RADCOMMON_H_
  17. #include <ias.h>
  18. #include <iasevent.h>
  19. #include <iaspolcy.h>
  20. #include <iastransport.h>
  21. #include <iasattr.h>
  22. #include <iasdefs.h>
  23. #include <sdoias.h>
  24. #include "winsock2.h"
  25. //
  26. //default UDP Ports to be used
  27. //
  28. #define IAS_DEFAULT_AUTH_PORT 1812
  29. #define IAS_DEFAULT_ACCT_PORT 1813
  30. //
  31. // these are the port types
  32. //
  33. typedef enum _porttype_
  34. {
  35. AUTH_PORTTYPE = 1,
  36. ACCT_PORTTYPE
  37. }
  38. PORTTYPE, *PPORTTYPE;
  39. //
  40. // this is the length of the eror string
  41. //
  42. #define IAS_ERROR_STRING_LENGTH 255
  43. #define IASRADAPI __declspec(dllexport)
  44. #endif // ifndef _RADCOMMON_H_