#include <stdio.h>#include <string.h>#include <unistd.h>#include <grass/gis.h>

Go to the source code of this file.
Functions | |
| int | test_path_file (const char *path, const char *file) |
| int | G_is_gisbase (const char *path) |
| Test if specified directory is GISBASE. | |
| int | G_is_location (const char *path) |
| Test if specified directory is location. | |
| int | G_is_mapset (const char *path) |
| Test if specified directory is mapset. | |
| int G_is_gisbase | ( | const char * | path | ) |
Test if specified directory is GISBASE.
| path | Path to directory |
0 The directory is not GISBASE
Definition at line 28 of file is.c.
References test_path_file().
| int G_is_location | ( | const char * | path | ) |
Test if specified directory is location.
| path | Path to directory |
0 The directory is not location
Definition at line 39 of file is.c.
References test_path_file().
| int G_is_mapset | ( | const char * | path | ) |
Test if specified directory is mapset.
| path | Path to directory |
0 The directory is not mapset
Definition at line 50 of file is.c.
References test_path_file().
| int test_path_file | ( | const char * | path, | |
| const char * | file | |||
| ) |
Definition at line 6 of file is.c.
References G_free(), and G_malloc().
Referenced by G_is_gisbase(), G_is_location(), and G_is_mapset().
1.5.5