Source code of Windows XP (NT5)
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.

133 lines
7.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: fileno.h
  8. //
  9. // Stolen from DS line number obfuscation macros
  10. //
  11. //--------------------------------------------------------------------------
  12. //
  13. // fileno.h - defines symbolic constants for kerberos c code
  14. // files. File numbers are 16 bit values. The high byte is the directory number and
  15. // the low byte is the file number within the directory.
  16. //
  17. // Why not make the macro have just one arg, since line is always
  18. // __LINE__? Because if we did then __LINE__ would be evaluated here,
  19. // rather than at the invocation of the macro, and so would always
  20. // have the value 11.
  21. #define KLIN(fileno,line) (((fileno) << 16) | (line))
  22. //
  23. // *** NOTE: ***
  24. //
  25. // If you add FILENO_*'s to this list, be sure to make a corresponding update
  26. // to kerberos\utest\klin.c so that dsid.exe can properly decode the DSID
  27. // corresponding to the new file.
  28. //
  29. // If you add DIRNO_*'s to this list, be sure to make a corresponding update
  30. // to ds\src\dscommon\dsvent.c - rEventSourceMappings[].
  31. //
  32. // define directory numbers
  33. #define DIRNO_CLIENT2 (0) // \client2
  34. #define DIRNO_COMMON2 (1 << 8) // \common2
  35. #define DIRNO_KERNEL (2 << 8) // \kernel
  36. #define DIRNO_RTL (3 << 8) // \rtl
  37. #define DIRNO_SERVER (4 << 8) // \server
  38. // client2 directory
  39. #define FILENO_BNDCACHE (DIRNO_CLIENT2 + 0) // bndcache.cxx
  40. #define FILENO_CREDAPI (DIRNO_CLIENT2 + 1) // credapi.cxx
  41. #define FILENO_CREDMGR (DIRNO_CLIENT2 + 2) // credmgr.cxx
  42. #define FILENO_CTXTAPI (DIRNO_CLIENT2 + 3) // ctxtapi.cxx
  43. #define FILENO_CTXTMGR (DIRNO_CLIENT2 + 4) // ctxtmgr.cxx
  44. #define FILENO_GSSUTIL (DIRNO_CLIENT2 + 5) // gssutil.cxx
  45. #define FILENO_KERBEROS (DIRNO_CLIENT2 + 6) // kerberos.cxx
  46. #define FILENO_KERBLIST (DIRNO_CLIENT2 + 7) // kerblist.cxx
  47. #define FILENO_KERBPASS (DIRNO_CLIENT2 + 8) // kerbpass.cxx
  48. #define FILENO_KERBTICK (DIRNO_CLIENT2 + 9) // kerbtick.cxx
  49. #define FILENO_KERBUTIL (DIRNO_CLIENT2 + 10) // kerbutil.cxx
  50. #define FILENO_KERBWOW (DIRNO_CLIENT2 + 11) // kerbwow.cxx
  51. #define FILENO_KRBEVENT (DIRNO_CLIENT2 + 12) // krbevent.cxx
  52. #define FILENO_KRBTOKEN (DIRNO_CLIENT2 + 13) // krbtoken.cxx
  53. #define FILENO_LOGONAPI (DIRNO_CLIENT2 + 14) // logonapi.cxx
  54. #define FILENO_MISCAPI (DIRNO_CLIENT2 + 15) // miscapi.cxx
  55. #define FILENO_MITUTIL (DIRNO_CLIENT2 + 16) // mitutil.cxx
  56. #define FILENO_PKAUTH (DIRNO_CLIENT2 + 17) // pkauth.cxx
  57. #define FILENO_PROXYAPI (DIRNO_CLIENT2 + 18) // proxyapi.cxx
  58. #define FILENO_RPCUTIL (DIRNO_CLIENT2 + 19) // rpcutil.cxx
  59. #define FILENO_SIDCACHE (DIRNO_CLIENT2 + 20) // sidcache.cxx
  60. #define FILENO_TIMESYNC (DIRNO_CLIENT2 + 21) // timesync.cxx
  61. #define FILENO_TKTCACHE (DIRNO_CLIENT2 + 22) // tktcache.cxx
  62. #define FILENO_TKTLOGON (DIRNO_CLIENT2 + 23) // tktlogon.cxx
  63. #define FILENO_USERAPI (DIRNO_CLIENT2 + 24) // userapi.cxx
  64. #define FILENO_USERLIST (DIRNO_CLIENT2 + 25) // userlist.cxx
  65. // common2 directory
  66. #define FILENO_AUTHEN (DIRNO_COMMON2 + 0) // authen.cxx
  67. #define FILENO_CRYPT (DIRNO_COMMON2 + 1) // crypt.c
  68. #define FILENO_KEYGEN (DIRNO_COMMON2 + 2) // keygen.c
  69. #define FILENO_KRB5 (DIRNO_COMMON2 + 3) // krb5.c
  70. #define FILENO_NAMES (DIRNO_COMMON2 + 4) // names.cxx
  71. #define FILENO_PASSWD (DIRNO_COMMON2 + 5) // passwd.c
  72. #define FILENO_RESTRICT (DIRNO_COMMON2 + 6) // restrict.cxx
  73. #define FILENO_SOCKETS (DIRNO_COMMON2 + 7) // sockets.cxx
  74. #define FILENO_TICKETS (DIRNO_COMMON2 + 8) // tickets.cxx
  75. #define FILENO_COMMON_UTILS (DIRNO_COMMON2 + 9) // utils.cxx
  76. // kernel directory
  77. #define FILENO_CPGSSUTL (DIRNO_KERNEL + 0) // cpgssutl.cxx
  78. #define FILENO_CTXTMGR2 (DIRNO_KERNEL + 1) // ctxtmgr.cxx
  79. #define FILENO_KERBLIST2 (DIRNO_KERNEL + 2) // kerblist.cxx
  80. #define FILENO_KRNLAPI (DIRNO_KERNEL + 3) // krnlapi.cxxc
  81. // RTL directory
  82. #define FILENO_AUTHDATA (DIRNO_RTL + 0) // authdata.cxx
  83. #define FILENO_CRACKPAC (DIRNO_RTL + 1) // crackpac.cxx
  84. #define FILENO_CRED (DIRNO_RTL + 2) // cred.cxx
  85. #define FILENO_CREDLIST (DIRNO_RTL + 3) // credlist.cxx
  86. #define FILENO_CREDLOCK (DIRNO_RTL + 4) // credlock.cxx
  87. #define FILENO_DBUTIL (DIRNO_RTL + 5) // dbutil.cxx
  88. #define FILENO_DBOPEN (DIRNO_RTL + 6) // domain.cxx
  89. #define FILENO_DOMCACHE (DIRNO_RTL + 7) // domcache.cxx
  90. #define FILENO_FILTER (DIRNO_RTL + 8) // filter.cxx
  91. #define FILENO_MAPERR (DIRNO_RTL + 9) // maperr.cxx
  92. #define FILENO_MAPSECER (DIRNO_RTL + 10) // mapsecerr.cxx
  93. #define FILENO_MISCID (DIRNO_RTL + 11) // miscid.cxx
  94. #define FILENO_PAC (DIRNO_RTL + 12) // pac.cxx
  95. #define FILENO_PAC2 (DIRNO_RTL + 13) // pac2.cxx
  96. #define FILENO_PARMCHK (DIRNO_RTL + 14) // parmchk.cxx
  97. #define FILENO_REG (DIRNO_RTL + 15) // reg.cxx
  98. #define FILENO_SECSTR (DIRNO_RTL + 16) // secstr.cxx
  99. #define FILENO_SERVICES (DIRNO_RTL + 17) // services.c
  100. #define FILENO_STRING (DIRNO_RTL + 18) // string.cxx
  101. #define FILENO_TIMESERV (DIRNO_RTL + 19) // timeserv.cxx
  102. #define FILENO_TOKENUTL (DIRNO_RTL + 20) // tokenutl.cxx
  103. #define FILENO_TRNSPORT (DIRNO_RTL + 21) // trnsport.cxx
  104. // Server directory
  105. #define FILENO_DEBUG (DIRNO_SERVER + 0) // debug.cxx
  106. #define FILENO_DGUTIL (DIRNO_SERVER + 1) // dgutil.cxx
  107. #define FILENO_EVENTS (DIRNO_SERVER + 2) // events.cxx
  108. #define FILENO_GETAS (DIRNO_SERVER + 3) // getas.cxx
  109. #define FILENO_GETTGS (DIRNO_SERVER + 4) // gettgs.cxx
  110. #define FILENO_KDC (DIRNO_SERVER + 5) // kdc.cxx
  111. #define FILENO_KDCTRACE (DIRNO_SERVER + 6) // kdctrace.cxx
  112. #define FILENO_KPASSWD (DIRNO_SERVER + 7) // kpasswd.cxx
  113. #define FILENO_NOTIFY2 (DIRNO_SERVER + 8) // notify2.cxx
  114. #define FILENO_SRVPAC (DIRNO_SERVER + 9) // pac.cxx
  115. #define FILENO_PKSERV (DIRNO_SERVER + 10) // pkserv.cxx
  116. #define FILENO_REFER (DIRNO_SERVER + 11) // refer.cxx
  117. #define FILENO_RPCIF (DIRNO_SERVER + 12) // rpcif.cxx
  118. #define FILENO_SECDATA (DIRNO_SERVER + 13) // secdata.cxx
  119. #define FILENO_SOCKUTIL (DIRNO_SERVER + 14) // sockutil.cxx
  120. #define FILENO_TKTUTIL (DIRNO_SERVER + 15) // tktutil.cxx
  121. #define FILENO_TRANSIT (DIRNO_SERVER + 16) // transit.cxx