summaryrefslogtreecommitdiff
path: root/hardinfo2/crash.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2008-07-04 19:53:10 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2008-07-04 19:53:10 -0300
commite102d515fb20d154aade1f680d793ebaeea1786f (patch)
tree7a2b9f61fb3096f6eef6df5366412cf189dc8bfa /hardinfo2/crash.h
parent6ed71c7a04d3e0a603c5f5945eb3a9e32776d2e9 (diff)
Add crash handler (based on old Sylpheed Claws code)
Diffstat (limited to 'hardinfo2/crash.h')
-rw-r--r--hardinfo2/crash.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/hardinfo2/crash.h b/hardinfo2/crash.h
new file mode 100644
index 00000000..7a169290
--- /dev/null
+++ b/hardinfo2/crash.h
@@ -0,0 +1,29 @@
+/*
+ * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 2002 by the Sylpheed Claws Team and Hiroyuki Yamamoto
+ *
+ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef CRASH_H__
+#define CRASH_H__
+
+#define DEBUGGERRC "debuggerrc"
+
+void crash_install_handlers (void);
+void crash_main (const char *arg);
+
+#endif /* CRASH_H__ */
+