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.

109 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. nticanon.h
  5. Abstract:
  6. Header file for canonicalization routines - includes all other required
  7. headers
  8. Author:
  9. Richard Firth (rfirth) 16-May-1991
  10. Revision History:
  11. 18-Sep-1991 JohnRo
  12. <tstring.h> now needs LPSTR and so on from <windef.h>.
  13. --*/
  14. #ifndef _NTICANON_H_INCLUDED
  15. #define _NTICANON_H_INCLUDED
  16. //
  17. // Allow all 'static' items to be seen by the debugger in debug version
  18. //
  19. #if DBG
  20. #define STATIC
  21. #else
  22. #define STATIC static
  23. #endif
  24. //
  25. // system-level include files
  26. //
  27. #include <nt.h>
  28. #include <ntrtl.h>
  29. #include <nturtl.h>
  30. #include <windef.h>
  31. #include <string.h>
  32. #include <tstring.h>
  33. #include <ctype.h>
  34. //
  35. // subsystem-level include files
  36. //
  37. #include <lmcons.h>
  38. #include <lmwksta.h>
  39. #include <lmapibuf.h>
  40. #include <netlib.h>
  41. #include <nturtl.h>
  42. #include <lmerr.h> // includes winerror.h
  43. #include <winbase.h>
  44. //
  45. // component-level include files
  46. //
  47. #include <icanon.h> // I_Net canonicalization prototypes
  48. #include <apinums.h> // API numbers for RxRemoteApi
  49. #include <remdef.h> // remote API parameter descriptor strings
  50. #include <rx.h> // RxRemoteApi
  51. #include <netdebug.h> // various Net related debugging functions
  52. #include <lmremutl.h> // NetRemoteComputerSupports...
  53. #include <rpc.h> // RPC definitions
  54. #include <rpcutil.h>
  55. #include <netcan.h> // Netpw RPC canonicalization worker routines
  56. //
  57. // module-level include files
  58. //
  59. #include "assert.h"
  60. #include "token.h"
  61. #include "validc.h"
  62. //
  63. // externals
  64. //
  65. extern
  66. LPTSTR
  67. strtail(
  68. IN LPTSTR str1,
  69. IN LPTSTR str2
  70. );
  71. extern
  72. NET_API_STATUS
  73. CanonicalizePathName(
  74. IN LPTSTR PathPrefix OPTIONAL,
  75. IN LPTSTR PathName,
  76. OUT LPTSTR Buffer,
  77. IN DWORD BufferSize,
  78. OUT LPDWORD RequiredSize OPTIONAL
  79. );
  80. //
  81. // miscellaneous component-wide manifests
  82. //
  83. #endif // _NTICANON_H_INCLUDED