1 /*
2  *      bptree.h
3  *
4  *      Copyright 2010 Alexander Petukhov <devel(at)apetukhov.ru>
5  *
6  *      This program 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  *      This program 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,
19  *      MA 02110-1301, USA.
20  */
21 
22 #ifndef BPTREE_H
23 #define BPTREE_H
24 
25 #include <glib.h>
26 
27 #include "breakpoint.h"
28 #include "breakpoints.h"
29 
30 gboolean		bptree_init(move_to_line_cb callback);
31 void			bptree_destroy(void);
32 void 			bptree_add_breakpoint(breakpoint* bp);
33 void 			bptree_update_breakpoint(breakpoint* bp);
34 void 			bptree_remove_breakpoint(breakpoint* bp);
35 void 			bptree_set_condition(breakpoint* bp);
36 void 			bptree_set_hitscount(breakpoint* bp);
37 void 			bptree_set_enabled(breakpoint* bp);
38 gchar*			bptree_get_condition(breakpoint* bp);
39 void 			bptree_set_readonly(gboolean readonly);
40 void			bptree_update_file_nodes(void);
41 
42 #endif /* guard */
43