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.

116 lines
2.0 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1989 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: smaction.h
  7. //
  8. // Description: Function prototypes for smaction.c
  9. //
  10. // History:
  11. // Nov 11,1993. NarenG Created original version.
  12. //
  13. BOOL
  14. FsmSendConfigReq(
  15. IN PCB * pPcb,
  16. IN DWORD CpIndex,
  17. IN BOOL fTimeout
  18. );
  19. BOOL
  20. FsmSendTermReq(
  21. IN PCB * pPcb,
  22. IN DWORD CpIndex
  23. );
  24. BOOL
  25. FsmSendTermAck(
  26. IN PCB * pPcb,
  27. IN DWORD CpIndex,
  28. IN PPP_CONFIG * pRecvConfig
  29. );
  30. BOOL
  31. FsmSendConfigResult(
  32. IN PCB * pPcb,
  33. IN DWORD CpIndex,
  34. IN PPP_CONFIG * pRecvConfig,
  35. IN BOOL * pfAcked
  36. );
  37. BOOL
  38. FsmSendEchoRequest(
  39. IN PCB * pPcb,
  40. IN DWORD CpIndex
  41. );
  42. BOOL
  43. FsmSendEchoReply(
  44. IN PCB * pPcb,
  45. IN DWORD CpIndex,
  46. IN PPP_CONFIG * pRecvConfig
  47. );
  48. BOOL
  49. FsmSendCodeReject(
  50. IN PCB * pPcb,
  51. IN DWORD CpIndex,
  52. IN PPP_CONFIG * pRecvConfig
  53. );
  54. BOOL
  55. FsmSendProtocolRej(
  56. IN PCB * pPcb,
  57. IN PPP_PACKET * pPacket,
  58. IN DWORD dwPacketLength
  59. );
  60. BOOL
  61. FsmThisLayerUp(
  62. IN PCB * pPcb,
  63. IN DWORD CpIndex
  64. );
  65. BOOL
  66. FsmThisLayerStarted(
  67. IN PCB * pPcb,
  68. IN DWORD CpIndex
  69. );
  70. BOOL
  71. FsmThisLayerFinished(
  72. IN PCB * pPcb,
  73. IN DWORD CpIndex,
  74. IN BOOL fCallCp
  75. );
  76. BOOL
  77. FsmThisLayerDown(
  78. IN PCB * pPcb,
  79. IN DWORD CpIndex
  80. );
  81. BOOL
  82. FsmInit(
  83. IN PCB * pPcb,
  84. IN DWORD CpIndex
  85. );
  86. BOOL
  87. FsmReset(
  88. IN PCB * pPcb,
  89. IN DWORD CpIndex
  90. );
  91. BOOL
  92. FsmSendIdentification(
  93. IN PCB * pPcb,
  94. IN BOOL fSendVersion
  95. );
  96. BOOL
  97. FsmSendTimeRemaining(
  98. IN PCB * pPcb
  99. );