summaryrefslogtreecommitdiff
path: root/src/common/backtrace.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-05-19 22:49:24 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-05-19 22:49:24 +0000
commit15f75d157c6ec6118f7800a433c13e2347632b92 (patch)
tree1740a4ff8851ed72397b0aaeff446e1b2f484305 /src/common/backtrace.h
parent7e802070ca0cc4f06ee1cbec590ba87261d0f3e0 (diff)
downloadweechat-15f75d157c6ec6118f7800a433c13e2347632b92.zip
Added backtrace when WeeChat crashes
Diffstat (limited to 'src/common/backtrace.h')
-rw-r--r--src/common/backtrace.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/common/backtrace.h b/src/common/backtrace.h
new file mode 100644
index 000000000..67e3751dc
--- /dev/null
+++ b/src/common/backtrace.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2003-2006 by FlashCode <flashcode@flashtux.org>
+ * See README for License detail, AUTHORS for developers list.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+#ifndef __WEECHAT_BACKTACE_H
+#define __WEECHAT_BACKTACE_H 1
+
+#define BACKTRACE_MAX 128
+
+extern void weechat_backtrace ();
+
+#endif /* backtrace.h */