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.

151 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. netcan.h
  5. Abstract:
  6. Prototypes for internal (private) local canonicalization routines (Netpw)
  7. and client-side RPC functions (Netps)
  8. Author:
  9. Richard L Firth (rfirth) 22-Jan-1992
  10. Revision History:
  11. --*/
  12. //
  13. // worker (Netpw) functions in NETLIB.LIB
  14. //
  15. NET_API_STATUS
  16. NetpwPathType(
  17. IN LPTSTR PathName,
  18. OUT LPDWORD PathType,
  19. IN DWORD Flags
  20. );
  21. NET_API_STATUS
  22. NetpwPathCanonicalize(
  23. IN LPTSTR PathName,
  24. IN LPTSTR Outbuf,
  25. IN DWORD OutbufLen,
  26. IN LPTSTR Prefix,
  27. IN OUT LPDWORD PathType,
  28. IN DWORD Flags
  29. );
  30. LONG
  31. NetpwPathCompare(
  32. IN LPTSTR PathName1,
  33. IN LPTSTR PathName2,
  34. IN DWORD PathType,
  35. IN DWORD Flags
  36. );
  37. NET_API_STATUS
  38. NetpwNameValidate(
  39. IN LPTSTR Name,
  40. IN DWORD NameType,
  41. IN DWORD Flags
  42. );
  43. NET_API_STATUS
  44. NetpwNameCanonicalize(
  45. IN LPTSTR Name,
  46. OUT LPTSTR Outbuf,
  47. IN DWORD OutbufLen,
  48. IN DWORD NameType,
  49. IN DWORD Flags
  50. );
  51. LONG
  52. NetpwNameCompare(
  53. IN LPTSTR Name1,
  54. IN LPTSTR Name2,
  55. IN DWORD NameType,
  56. IN DWORD Flags
  57. );
  58. NET_API_STATUS
  59. NetpwListCanonicalize(
  60. IN LPTSTR List,
  61. IN LPTSTR Delimiters,
  62. OUT LPTSTR Outbuf,
  63. IN DWORD OutbufLen,
  64. OUT LPDWORD OutCount,
  65. OUT LPDWORD PathTypes,
  66. IN DWORD PathTypesLen,
  67. IN DWORD Flags
  68. );
  69. LPTSTR
  70. NetpwListTraverse(
  71. IN LPTSTR Reserved,
  72. IN LPTSTR* pList,
  73. IN DWORD Flags
  74. );
  75. //
  76. // stub (Netps) functions in SRVSVC.DLL
  77. //
  78. NET_API_STATUS
  79. NetpsPathType(
  80. IN LPTSTR ServerName,
  81. IN LPTSTR PathName,
  82. OUT LPDWORD PathType,
  83. IN DWORD Flags
  84. );
  85. NET_API_STATUS
  86. NetpsPathCanonicalize(
  87. IN LPTSTR ServerName,
  88. IN LPTSTR PathName,
  89. IN LPTSTR Outbuf,
  90. IN DWORD OutbufLen,
  91. IN LPTSTR Prefix,
  92. IN OUT LPDWORD PathType,
  93. IN DWORD Flags
  94. );
  95. LONG
  96. NetpsPathCompare(
  97. IN LPTSTR ServerName,
  98. IN LPTSTR PathName1,
  99. IN LPTSTR PathName2,
  100. IN DWORD PathType,
  101. IN DWORD Flags
  102. );
  103. NET_API_STATUS
  104. NetpsNameValidate(
  105. IN LPTSTR ServerName,
  106. IN LPTSTR Name,
  107. IN DWORD NameType,
  108. IN DWORD Flags
  109. );
  110. NET_API_STATUS
  111. NetpsNameCanonicalize(
  112. IN LPTSTR ServerName,
  113. IN LPTSTR Name,
  114. OUT LPTSTR Outbuf,
  115. IN DWORD OutbufLen,
  116. IN DWORD NameType,
  117. IN DWORD Flags
  118. );
  119. LONG
  120. NetpsNameCompare(
  121. IN LPTSTR ServerName,
  122. IN LPTSTR Name1,
  123. IN LPTSTR Name2,
  124. IN DWORD NameType,
  125. IN DWORD Flags
  126. );