Source code of Windows XP (NT5)
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.

61 lines
1.3 KiB

  1. /*****************************************************************************
  2. *
  3. * Copyright (c) 1995 Microsoft Corporation
  4. *
  5. * File: irlap.h
  6. *
  7. * Description: IRLAP Protocol and control block definitions
  8. *
  9. * Author: mbert
  10. *
  11. * Date: 4/15/95
  12. *
  13. */
  14. // Sequence number modulus
  15. #define IRLAP_MOD 8
  16. #define PV_TABLE_MAX_BIT 9
  17. extern UINT vBaudTable[];
  18. extern UINT vMaxTATTable[];
  19. extern UINT vMinTATTable[];
  20. extern UINT vDataSizeTable[];
  21. extern UINT vWinSizeTable[];
  22. extern UINT vBOFSTable[];
  23. extern UINT vDiscTable[];
  24. extern UINT vThreshTable[];
  25. extern UINT vBOFSDivTable[];
  26. VOID IrlapOpenLink(
  27. OUT PNTSTATUS Status,
  28. IN PIRDA_LINK_CB pIrdaLinkCb,
  29. IN IRDA_QOS_PARMS *pQos,
  30. IN UCHAR *pDscvInfo,
  31. IN int DscvInfoLen,
  32. IN UINT MaxSlot,
  33. IN UCHAR *pDeviceName,
  34. IN int DeviceNameLen,
  35. IN UCHAR CharSet);
  36. UINT IrlapDown(IN PVOID Context,
  37. IN PIRDA_MSG);
  38. VOID IrlapUp(IN PVOID Context,
  39. IN PIRDA_MSG);
  40. VOID IrlapCloseLink(PIRDA_LINK_CB pIrdaLinkCb);
  41. UINT IrlapGetQosParmVal(UINT[], UINT, UINT *);
  42. VOID IrlapDeleteInstance(PVOID Context);
  43. VOID IrlapGetLinkStatus(PIRLINK_STATUS);
  44. BOOLEAN IrlapConnectionActive(PVOID Context);
  45. void IRLAP_PrintState();