su_module_debug.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * This file is part of the Sofia-SIP package
  3. *
  4. * Copyright (C) 2005 Nokia Corporation.
  5. *
  6. * Contact: Pekka Pessi <pekka.pessi@nokia.com>
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public License
  10. * as published by the Free Software Foundation; either version 2.1 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful, but
  14. * WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with this library; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. * 02110-1301 USA
  22. *
  23. */
  24. #ifndef SU_MODULE_DEBUG_H
  25. /** Defined when <su_module_debug.h> has been included. */
  26. #define SU_MODULE_DEBUG_H
  27. /**@ingroup su_log
  28. * @internal @file su_module_debug.h
  29. * @brief Debug log for @b su module
  30. *
  31. * The su_module_debug.h defines a common debug log #su_log_global for all
  32. * functions within @b su module.
  33. *
  34. * @author Pekka Pessi <Pekka.Pessi@nokia.com>
  35. *
  36. * @date Created: Wed Jan 29 18:18:49 2003 ppessi
  37. *
  38. */
  39. #include <sofia-sip/su_log.h>
  40. SOFIA_BEGIN_DECLS
  41. /** Debugging log for @b su module. */
  42. SOFIAPUBVAR su_log_t su_log_global[];
  43. #define SU_LOG (su_log_global)
  44. #include <sofia-sip/su_debug.h>
  45. SOFIA_END_DECLS
  46. #endif /* !defined SU_MODULE_DEBUG_H */