49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
/* LIBPIKA - The PIKA Library
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
|
*
|
|
* pika-debug.h
|
|
*
|
|
* This library is free software: you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see
|
|
* <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __PIKA_DEBUG_H__
|
|
#define __PIKA_DEBUG_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
typedef enum
|
|
{
|
|
PIKA_DEBUG_PID = 1 << 0,
|
|
PIKA_DEBUG_FATAL_WARNINGS = 1 << 1,
|
|
PIKA_DEBUG_QUERY = 1 << 2,
|
|
PIKA_DEBUG_INIT = 1 << 3,
|
|
PIKA_DEBUG_RUN = 1 << 4,
|
|
PIKA_DEBUG_QUIT = 1 << 5,
|
|
PIKA_DEBUG_FATAL_CRITICALS = 1 << 6,
|
|
|
|
} PikaDebugFlag;
|
|
|
|
|
|
void _pika_debug_init (const gchar *basename);
|
|
void _pika_debug_configure (PikaStackTraceMode stack_trace_mode);
|
|
guint _pika_get_debug_flags (void);
|
|
void _pika_debug_stop (void);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __PIKA_DEBUG_H__ */
|