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.

59 lines
1.3 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1989 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: auth.h
  7. //
  8. // Description: Contains function prototypes for the authentication
  9. // module
  10. //
  11. // History:
  12. // Nov 11,1993. NarenG Created original version.
  13. //
  14. VOID
  15. ApStop(
  16. IN PCB * pPcb,
  17. IN DWORD CpIndex,
  18. IN BOOL fAuthenticator
  19. );
  20. VOID
  21. ApWork(
  22. IN PCB * pPcb,
  23. IN DWORD CpIndex,
  24. IN PPP_CONFIG * pRecvConfig,
  25. IN PPPAP_INPUT * pApInput,
  26. IN BOOL fAuthenticator
  27. );
  28. BOOL
  29. ApStart(
  30. IN PCB * pPcb,
  31. IN DWORD CpIndex,
  32. IN BOOL fAuthenticator
  33. );
  34. BOOL
  35. ApIsAuthenticatorPacket(
  36. IN DWORD CpIndex,
  37. IN BYTE bConfigCode
  38. );
  39. DWORD
  40. SetUserAuthorizedAttributes(
  41. IN PCB * pPcb,
  42. IN RAS_AUTH_ATTRIBUTE * pUserAttributes,
  43. IN BOOL fAuthenticator,
  44. IN BYTE * pChallenge,
  45. IN BYTE * pResponse
  46. );
  47. DWORD
  48. RasAuthenticateClient(
  49. IN HPORT hPort,
  50. IN RAS_AUTH_ATTRIBUTE * pInAttributes
  51. );