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
1.4 KiB

  1. /* Copyright (c) 1995, Microsoft Corporation, all rights reserved
  2. **
  3. ** rautil.h
  4. ** Remote Access RASAPI utility library
  5. ** Public header
  6. **
  7. ** 12/26/95 Steve Cobb
  8. */
  9. #ifndef _RAUTIL_H_
  10. #define _RAUTIL_H_
  11. #include <list.h> // for LIST_ENTRY definitions
  12. #include <serial.h> // RAS serial media header, for SERIAL_TXT
  13. #include <isdn.h> // RAS ISDN media header, for ISDN_TXT
  14. #include <x25.h> // RAS X.25 media header, for X25_TXT
  15. #include <rasmxs.h> // RAS modem/X.25/switch device header, for MXS_*_TXT
  16. #include <ras.h> // Win32 RAS header, for constants
  17. /*----------------------------------------------------------------------------
  18. ** Prototypes
  19. **----------------------------------------------------------------------------
  20. */
  21. DWORD
  22. FreeRasconnList(
  23. LIST_ENTRY *pListHead );
  24. DWORD
  25. GetRasconnList(
  26. LIST_ENTRY *pListHead );
  27. DWORD
  28. GetRasconnTable(
  29. OUT RASCONN** ppConnTable,
  30. OUT DWORD* pdwConnCount );
  31. DWORD
  32. GetRasEntrynameTable(
  33. OUT RASENTRYNAME** ppEntrynameTable,
  34. OUT DWORD* pdwEntrynameCount );
  35. DWORD
  36. GetRasProjectionInfo(
  37. IN HRASCONN hrasconn,
  38. OUT RASAMB* pamb,
  39. OUT RASPPPNBF* pnbf,
  40. OUT RASPPPIP* pip,
  41. OUT RASPPPIPX* pipx,
  42. OUT RASPPPLCP* plcp,
  43. OUT RASSLIP* pslip,
  44. OUT RASPPPCCP* pccp);
  45. HRASCONN
  46. HrasconnFromEntry(
  47. IN TCHAR* pszPhonebook,
  48. IN TCHAR* pszEntry );
  49. #endif // _RAUTIL_H_