00001 #ifndef GFUNCTION_H
00002 #define GFUNCTION_H
00003
00004 #include <unistd.h>
00005
00006
00007 #include <iostream>
00008 using namespace std;
00009
00010 #include <string>
00011 #include "gvariable.h"
00012 #undef PACKAGE
00013 #include <config.h>
00014
00015 #ifdef HAVE_IEEEFP_H
00016
00020 #include <ieeefp.h>
00021
00022 extern int isinf(double x);
00023 #endif
00024
00025 extern char * stralloc(const char * str);
00026
00027 extern long get_cur_vm(pid_t);
00028 extern long get_max_vm();
00029
00030 namespace BIE {
00031
00032 extern streambuf * checkTable(const char *function_name);
00033 extern streambuf * checkTable(const char *function_name,
00034 const char *print_value);
00035 extern ofstream out;
00036 }
00037
00038 #endif
00039