"Fossies" - the Fresh Open Source Software Archive
Member "FunctionCheck-3.2.0/src/fcmanager/fc_graph.h" (26 May 2012, 1302 Bytes) of package /linux/privat/old/FunctionCheck-3.2.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard
) with prefixed line numbers and code folding
Alternatively you can here view
the uninterpreted source code file.
2 * FunctionCheck profiler
3 * (C) Copyright 2000-2012 Yannick Perret
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 /** fc_graph.h: manage the call-graph (arcs) during profile **/
21 #ifndef __fc_graph_h_
22 #define __fc_graph_h_
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include "fc_xlhash.h"
28 /** functions **/
29 /* init the graph */
30 FC_LHash *fc_graph_init(int size);
32 /* add a new arc */
33 int fc_graph_add(FC_LHash *graph, void *from, void *to);
35 /* add a new arc (if not present) */
36 int fc_graph_add_single(FC_LHash *graph, void *from, void *to);
38 /* remove the graph */
39 int fc_graph_free(FC_LHash *graph);
41 #endif /* __fc_graph_h_ */