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.

62 lines
826 B

  1. /*
  2. Copyright (c) 1998, Microsoft Corporation, all rights reserved
  3. Description:
  4. History:
  5. */
  6. #ifndef _RASSTAT_H_
  7. #define _RASSTAT_H_
  8. #include "rasiphlp.h"
  9. DWORD
  10. RasStatInitialize(
  11. VOID
  12. );
  13. VOID
  14. RasStatUninitialize(
  15. VOID
  16. );
  17. VOID
  18. RasStatSetRoutes(
  19. IN IPADDR nboServerIpAddress,
  20. IN BOOL fSet
  21. );
  22. VOID
  23. RasStatCreatePoolList(
  24. IN OUT ADDR_POOL** ppAddrPoolOut
  25. );
  26. VOID
  27. RasStatFreeAddrPool(
  28. IN ADDR_POOL* pAddrPool
  29. );
  30. BOOL
  31. RasStatAddrPoolsDiffer
  32. (
  33. IN ADDR_POOL* pAddrPool1,
  34. IN ADDR_POOL* pAddrPool2
  35. );
  36. DWORD
  37. RasStatAcquireAddress(
  38. IN HPORT hPort,
  39. IN OUT IPADDR* pnboIpAddr,
  40. IN OUT IPADDR* pnboIpMask
  41. );
  42. VOID
  43. RasStatReleaseAddress(
  44. IN IPADDR nboIpAddr
  45. );
  46. #endif // #ifndef _RASSTAT_H_