ekg2  GIT master
abort.h
Idź do dokumentacji tego pliku.
1 /* (C) Copyright 2011 Marcin Owsiany <marcin@owsiany.pl>
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License Version 2 as
5  * published by the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software
14  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
15  */
16 
17 #ifndef __EKG_ABORT_H
18 #define __EKG_ABORT_H
19 
38 #include "plugins.h"
39 #include <glib.h>
40 
41 G_BEGIN_DECLS
42 
43 typedef void (*abort_handler)(void);
44 
53 
60 
67 
68 G_END_DECLS
69 
70 #endif /* __EKG_ABORT_H */
71 
72 /*
73  * Local Variables:
74  * mode: c
75  * c-file-style: "k&r"
76  * c-basic-offset: 8
77  * indent-tabs-mode: t
78  * End:
79  */
int ekg2_unregister_abort_handlers_for_plugin(plugin_t *plugin)
Definition: abort.c:51
Definition: plugins.h:76
G_BEGIN_DECLS typedef void(* abort_handler)(void)
Definition: abort.h:43
int ekg2_register_abort_handler(abort_handler handler, plugin_t *plugin)
Definition: abort.c:28
abort_handler handler
Definition: abort.c:24
void ekg2_run_all_abort_handlers(void)
Definition: abort.c:41