20 #include "gis_local_proto.h"
52 *window =
st->dbwindow;
57 regvar = getenv(
"GRASS_REGION");
66 char *wind = getenv(
"WIND_OVERRIDE");
74 *window =
st->dbwindow;
111 const char *
name,
const char *mapset)
void G__read_Cell_head_array(char **, struct Cell_head *)
Read window from NULL terminated array of strings (for internal use only)
FILE * G_fopen_old(const char *, const char *, const char *)
Open a database file for reading.
void G_zero(void *, int)
Zero out a buffer, buf, of length i.
void G__read_Cell_head(FILE *, struct Cell_head *)
Read cell header (for internal use only)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
void G_fseek(FILE *, off_t, int)
Change the file position of the stream.
const char * G_mapset(void)
Get current mapset name.
off_t G_ftell(FILE *)
Get the current file position of the stream.
void G_free_tokens(char **)
Free memory allocated to tokens.
int G_is_initialized(int *)
void G_initialize_done(int *)
char ** G_tokenize(const char *, const char *)
Tokenize string.
void G_get_window(struct Cell_head *window)
Get the current region.
void G_get_element_window(struct Cell_head *window, const char *element, const char *name, const char *mapset)
Get region for selected element (raster, vector, window, etc.)
void G_unset_window(void)
Unset current region.
void G_get_default_window(struct Cell_head *window)
Get the default region.
2D/3D raster map header (used also for region)