debugger_config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * $Id$
  3. *
  4. * This file is part of SIP-router, a free SIP server.
  5. *
  6. * SIP-router is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version
  10. *
  11. * SIP-router is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. */
  21. /*!
  22. * \file
  23. * \brief Debugger :: Configuration
  24. * \ingroup debugger
  25. */
  26. #ifndef _DEBUGGER_CONFIG_H
  27. #define _DEBUGGER_CONFIG_H
  28. #include "../../cfg/cfg.h"
  29. #include "../../str.h"
  30. struct cfg_group_dbg {
  31. unsigned int mod_level_mode;
  32. unsigned int mod_hash_size;
  33. };
  34. extern struct cfg_group_dbg default_dbg_cfg;
  35. extern void *dbg_cfg;
  36. extern cfg_def_t dbg_cfg_def[];
  37. extern int dbg_level_mode_fixup(void *temp_handle,
  38. str *group_name, str *var_name, void **value);
  39. #endif