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.

169 lines
3.1 KiB

  1. /*******************************************************************/
  2. /* Copyright(c) 1993 Microsoft Corporation */
  3. /*******************************************************************/
  4. //***
  5. //
  6. // Filename: prot.h
  7. //
  8. // Description: Prototypes
  9. //
  10. //
  11. // Author: Stefan Solomon (stefans) November 2, 1995.
  12. //
  13. // Revision History:
  14. //
  15. //***
  16. #ifndef _IPXCP_PROT_
  17. #define _IPXCP_PROT_
  18. BOOL
  19. NetworkNumberHandler(PUCHAR optptr,
  20. PIPXCP_CONTEXT contextp,
  21. PUCHAR resptr,
  22. OPT_ACTION Action);
  23. BOOL
  24. NodeNumberHandler(PUCHAR optptr,
  25. PIPXCP_CONTEXT contextp,
  26. PUCHAR resptr,
  27. OPT_ACTION Action);
  28. BOOL
  29. RoutingProtocolHandler(PUCHAR optptr,
  30. PIPXCP_CONTEXT contextp,
  31. PUCHAR resptr,
  32. OPT_ACTION Action);
  33. BOOL
  34. ConfigurationCompleteHandler(PUCHAR optptr,
  35. PIPXCP_CONTEXT contextp,
  36. PUCHAR resptr,
  37. OPT_ACTION Action);
  38. VOID
  39. CopyOption(PUCHAR dstptr,
  40. PUCHAR srcptr);
  41. DWORD
  42. RmAllocateRoute(ULONG ConnectionId);
  43. DWORD
  44. RmDeallocateRoute(ULONG ConnectionId);
  45. DWORD
  46. RmActivateRoute(ULONG ConnectionId,
  47. PIPXCP_CONFIGURATION configp);
  48. VOID
  49. GetIpxCpParameters(PIPXCP_GLOBAL_CONFIG_PARAMS pConfig);
  50. VOID
  51. NetToAscii(PUCHAR ascp,
  52. PUCHAR net);
  53. BOOL
  54. CompressionProtocolHandler(PUCHAR optptr,
  55. PIPXCP_CONTEXT contextp,
  56. PUCHAR resptr,
  57. OPT_ACTION Action);
  58. VOID
  59. InitializeNodeHT(VOID);
  60. VOID
  61. DestroyNodeHT(VOID);
  62. BOOL
  63. NodeisUnique(PUCHAR nodep);
  64. VOID
  65. AddToNodeHT(PIPXCP_CONTEXT contextp);
  66. VOID
  67. RemoveFromNodeHT(PIPXCP_CONTEXT contextp);
  68. VOID
  69. DisableRestoreBrowserOverIpx(PIPXCP_CONTEXT contextp,
  70. BOOL Disable);
  71. VOID
  72. DisableRestoreBrowserOverNetbiosIpx(PIPXCP_CONTEXT contextp,
  73. BOOL Disable);
  74. BOOL
  75. IsWorkstationDialoutActive(VOID);
  76. BOOL
  77. IsDialinActive(VOID);
  78. BOOL
  79. IsRouterStarted(VOID);
  80. DWORD
  81. GetIpxwanInterfaceConfig(ULONG InterfaceIndex,
  82. PULONG IpxwanConfigRequiredp);
  83. BOOL
  84. IsRoute(PUCHAR Network);
  85. VOID
  86. InitializeRouterManagerIf(VOID);
  87. DWORD
  88. AddLocalWkstaDialoutInterface(PULONG InterfaceIndexp);
  89. DWORD
  90. DeleteLocalWkstaDialoutInterface(ULONG InterfaceIndex);
  91. ULONG
  92. GetInterfaceType(PPPPCP_INIT initp);
  93. BOOL
  94. NodeIsUnique(PUCHAR nodep);
  95. DWORD
  96. GetUniqueHigherNetNumber(PUCHAR newnet,
  97. PUCHAR oldnet,
  98. PIPXCP_CONTEXT contextp);
  99. VOID
  100. StartTracing(VOID);
  101. VOID
  102. TraceIpx(ULONG ComponentID,
  103. char *Format,
  104. ...);
  105. VOID
  106. StopTracing(VOID);
  107. VOID
  108. InitializeConnHT(VOID);
  109. VOID
  110. AddToConnHT(PIPXCP_CONTEXT contextp);
  111. VOID
  112. RemoveFromConnHT(PIPXCP_CONTEXT contextp);
  113. PIPXCP_CONTEXT
  114. GetContextBuffer(ULONG_PTR ConnectionId);
  115. VOID
  116. LoadIpxWan(VOID);
  117. VOID
  118. UnloadIpxWan(VOID);
  119. DWORD
  120. GetWanNetNumber(IN OUT PUCHAR Network,
  121. IN OUT PULONG AllocatedNetworkIndexp,
  122. IN ULONG InterfaceType);
  123. VOID
  124. ReleaseWanNetNumber(ULONG AllocatedNetworkIndex);
  125. VOID
  126. GetInternalNetNumber(PUCHAR Network);
  127. #endif