"Fossies" - the Fresh Open Source Software Archive 
Member "FunctionCheck-3.2.0/src/libfc/fc_ressources.h" (26 May 2012, 1743 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 option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /*
2 * FunctionCheck profiler
3 * (C) Copyright 2000-2012 Yannick Perret
4 *
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.
9 *
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.
14 *
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.
18 */
19
20 /* fc_ressources: manage env. variables and ressource file
21 to get initial state for the profiler
22 */
23
24 #ifndef __fc_ressources_h_
25 #define __fc_ressources_h_
26
27 #include <stdio.h>
28 #include <stdlib.h>
29
30 /** read env. variables and set values in corresponding
31 variables. If not set, variables are unchanged **/
32 int fc_read_env(int *fc_buffer_size,
33 int *fc_stack_size,
34 int *fc_function_size,
35 int *fc_graph_size,
36 int *fc_memory_size,
37 char*fc_dump_path,
38 char*fc_dump_name,
39 char*fc_time_mode,
40 int *fc_verbose_mode,
41 int *fc_use_pid,
42 int *fc_no_fork,
43 int *fc_no_thread,
44 int *fc_debug,
45 int *give_help,
46 int *use_memory,
47 int *memory_stack);
48
49 /** read ressources file (if exist) and set env. variables
50 with corresponding values (to be done before fc_read_env) **/
51 int fc_read_ressources();
52
53 #endif // __fc_ressources_h_