TaPAS  0.2
batof-sfp.h
1 /*
2  * batof-sfp.h -- Stallings' folding process
3  *
4  * This file is a part of the PresTAF project.
5  *
6  * Copyright (C) 2010 CNRS UMR 5800 & Universit√© Bordeaux I (see AUTHORS file).
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 
33 #ifndef __BATOF_SFP_H__
34 # define __BATOF_SFP_H__
35 
36 #define BTF_SFP_FORWARD 0x01
37 #define BTF_SFP_BACKWARD 0x02
38 #define BTF_SFP_BOTHWARD (BTF_SFP_BACKWARD|BTF_SFP_FORWARD)
39 
43 extern void
44 btf_stalling_folding_process (int sfp_mode,
45  int nb_nodes, int nb_edges, int **edges,
46  int *p_nb_classes,
47  int **p_node_to_class_map,
48  int ***p_class_to_nodes_map);
49 
50 #endif /* ! __BATOF_SFP_H__ */