Windows NT 4.0 source code leak
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.

110 lines
4.7 KiB

5 years ago
  1. /****************************************************************************/
  2. /****************************************************************************/
  3. /* */
  4. /* THE DRIVER MODULE (SRBs) */
  5. /* ======================== */
  6. /* */
  7. /* DRV_SRB.H : Part of the FASTMAC TOOL-KIT (FTK) */
  8. /* */
  9. /* Copyright (c) Madge Networks Ltd. 1991-1994 */
  10. /* Developed by MF */
  11. /* CONFIDENTIAL */
  12. /* */
  13. /* */
  14. /****************************************************************************/
  15. /* */
  16. /* The driver module provides a simple interface to allow the use of */
  17. /* Fastmac in as general a setting as possible. It handles the downloading */
  18. /* of the Fastmac code and the initialization of the adapter card. It */
  19. /* provides simple transmit and receive routines. It is desgined to */
  20. /* quickly allow the implementation of Fastmac applications. It is not */
  21. /* designed as the fastest or most memory efficient solution. */
  22. /* */
  23. /* The DRV_SRB.H file contains the exported function definitions for the */
  24. /* procedures in the DRV_SRB.C module that may be called by the user. */
  25. /* */
  26. /****************************************************************************/
  27. /****************************************************************************/
  28. /* */
  29. /* VERSION_NUMBER of FTK to which this DRV_SRB.H belongs : */
  30. /* */
  31. #define FTK_VERSION_NUMBER_DRV_SRB_H 221
  32. /****************************************************************************/
  33. extern UINT driver_ring_speed(
  34. ADAPTER_HANDLE
  35. );
  36. extern UINT driver_max_frame_size(
  37. ADAPTER_HANDLE
  38. );
  39. extern WBOOLEAN driver_modify_open_options(
  40. ADAPTER_HANDLE adapter_handle,
  41. WORD open_options
  42. );
  43. extern WBOOLEAN driver_open_adapter(
  44. ADAPTER_HANDLE adapter_handle,
  45. PTR_OPEN_DATA open_data
  46. );
  47. extern WBOOLEAN driver_close_adapter(
  48. ADAPTER_HANDLE adapter_handle
  49. );
  50. extern WBOOLEAN driver_set_group_address(
  51. ADAPTER_HANDLE adapter_handle,
  52. MULTI_ADDRESS * group_address
  53. );
  54. extern WBOOLEAN driver_set_functional_address(
  55. ADAPTER_HANDLE adapter_handle,
  56. MULTI_ADDRESS * functional_address
  57. );
  58. extern void driver_get_open_and_ring_status(
  59. ADAPTER_HANDLE adapter_handle,
  60. WORD * pwRingStatus,
  61. WORD * pwOpenStatus
  62. );
  63. extern WBOOLEAN driver_get_status(
  64. ADAPTER_HANDLE adapter_handle
  65. );
  66. extern WBOOLEAN driver_set_bridge_parms(
  67. ADAPTER_HANDLE adapter_handle,
  68. WBOOLEAN single_route_bcast,
  69. UINT this_ring,
  70. UINT that_ring,
  71. UINT bridge_num
  72. );
  73. extern WBOOLEAN driver_set_product_instance_id(
  74. ADAPTER_HANDLE adapter_handle,
  75. BYTE * product_id
  76. );
  77. /* */
  78. /* */
  79. /************** End of DRV_SRB.H file ***************************************/
  80. /* */
  81. /* */