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.

92 lines
1.8 KiB

  1. #ifndef _EAPP_HXX_
  2. #define _EAPP_HXX_
  3. #include <urlint.h>
  4. #include <stdio.h>
  5. #include <sem.hxx>
  6. #include <wininet.h>
  7. #include <crtsubst.h>
  8. #if DBG == 1
  9. extern LPCWSTR v_gDbgFacilitieNames[];
  10. void EProtUrlSpy(int iOption, const char *pscFormat, ...);
  11. #ifndef unix
  12. DECLARE_DEBUG(EProt)
  13. #endif /* unix */
  14. # define EProtDebugOut(x) EProtUrlSpy x
  15. # define EProtAssert(x) Win4Assert(x)
  16. # define EProtVerify(x) EProtAssert(x)
  17. # undef DEB_PLUGPROT
  18. # define DEB_PLUGPROT DEB_USER1
  19. # undef DEB_BASE
  20. # define DEB_BASE DEB_USER2
  21. # define DEB_RES DEB_USER3
  22. # define DEB_NAMESPACE DEB_USER4
  23. # define DEB_NOTFSINK DEB_USER5
  24. /**
  25. # undef UrlMkDebugOut
  26. # undef UrlMkAssert
  27. # undef UrlMkVerify
  28. # undef DEB_ASYNCAPIS
  29. # undef DEB_URLMON
  30. # undef DEB_ISTREAM
  31. # undef DEB_DLL
  32. # undef DEB_FORMAT
  33. # undef DEB_CODEDL
  34. # undef TransDebugOut
  35. # undef TransAssert
  36. # undef TransVerify
  37. # undef DEB_BINDING
  38. # undef DEB_TRANS
  39. # undef DEB_TRANSPACKET
  40. # undef DEB_DATA
  41. # undef DEB_PROT
  42. # undef DEB_PROTHTTP
  43. # undef DEB_TRANSMGR
  44. // needed for the CThreadPacket
  45. //# undef DEB_SESSION
  46. **/
  47. #elif DBGASSERT == 1
  48. # define EProtAssert(x) (void) ((x) || (DebugBreak(),0))
  49. # define EProtDebugOut(x)
  50. # define EProtVerify(x) x
  51. #else
  52. # define EProtDebugOut(x)
  53. # define EProtAssert(x)
  54. # define EProtVerify(x) x
  55. #endif
  56. #include "selfreg.hxx"
  57. #include "cmimeft.hxx"
  58. #include "comp.hxx"
  59. #include "ccodeft.hxx"
  60. #include "protbase.hxx"
  61. #include "cdlbsc.hxx"
  62. #include "cdlprot.hxx"
  63. #include "clshndlr.hxx"
  64. #ifdef EAPP_TEST
  65. #include "mimehndl.hxx"
  66. #include "resprot.hxx"
  67. #include "nspohsrv.hxx"
  68. #include "multicst.hxx"
  69. #endif //EAPP_TEST
  70. #endif //_EAPP_HXX_