PIPS
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <dirent.h>
#include <sys/stat.h>
#include <ctype.h>
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
#include "linear.h"
#include "genC.h"
#include "misc.h"
#include "ri-util.h"
#include "pipsdbm.h"
#include "pipsmake.h"
#include "top-level.h"
Go to the source code of this file.
Functions | |
static string | get_view_file (const char *print_type, bool displayable) |
returns the allocated full path name. More... | |
string | build_view_file (const char *print_type) |
view.c More... | |
string | get_dont_build_view_file (const char *print_type) |
string build_view_file | ( | const char * | print_type | ) |
print_type | rint_type |
Definition at line 97 of file view.c.
References get_view_file(), and print_type().
Referenced by display(), display_a_resource(), gpips_display_graph_file_display(), gpips_display_plain_file(), wpips_display_graph_file_display(), wpips_display_plain_file(), and wpips_display_WP65_file().
string get_dont_build_view_file | ( | const char * | print_type | ) |
print_type | rint_type |
Definition at line 102 of file view.c.
References get_view_file(), and print_type().
Referenced by wpips_display_WP65_file().
returns the allocated full path name.
the database is added if it is relative...
the file name is relative to the database. thus the workspace directory name is prefixed.
it is relative to pips pwd, or absolute.
should be show_message
Definition at line 54 of file view.c.
References build_pgmwd, concatenate(), db_get_current_module_name(), db_get_current_workspace_name(), db_get_file_resource, displayable_file_p(), file_name, free(), module_name(), pips_user_error, print_type(), safe_make(), strdup(), and user_log().
Referenced by build_view_file(), and get_dont_build_view_file().