GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
GIS Library - Handles program initialization. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <locale.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "G.h"
#include "gis_local_proto.h"
Go to the source code of this file.
Functions | |
void | G__gisinit (const char *version, const char *pgm) |
Initialize GIS Library and ensures a valid mapset is available. More... | |
void | G__no_gisinit (const char *version) |
Initialize GIS Library. More... | |
void | G__check_gisinit (void) |
Checks to see if GIS engine is initialized. More... | |
void | G_init_all (void) |
Initialize environment. More... | |
Variables | |
struct G__ | G__ |
GIS Library - Handles program initialization.
(C) 2001-2008, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gisinit.c.
void G__check_gisinit | ( | void | ) |
Checks to see if GIS engine is initialized.
Definition at line 131 of file gisinit.c.
Referenced by G_init_all().
void G__gisinit | ( | const char * | version, |
const char * | pgm | ||
) |
Initialize GIS Library and ensures a valid mapset is available.
version | |
pgm | program (module) name |
void G__no_gisinit | ( | const char * | version | ) |
void G_init_all | ( | void | ) |
Initialize environment.
Definition at line 174 of file gisinit.c.
References G__check_gisinit(), G__get_list_of_mapsets(), G__home(), G__init_window(), G__machine_name(), G_init_debug(), G_init_env(), G_init_locale(), G_init_logging(), G_init_tempfile(), G_read_datum_table(), G_read_ellipsoid_table(), G_verbose(), and G_whoami().