21static const char *find_element(
int misc,
const char *dir,
const char *
element)
23 static const char *
cell_elements[] = {
"cellhd",
"cell",
"cats",
24 "colr",
"hist",
"cell_misc",
25 "fcell",
"g3dcell",
NULL};
27 "dig",
"dig_att",
"dig_plus",
"dig_cats",
"dig_misc",
"reg",
NULL};
40static const char *find_file(
int misc,
const char *dir,
const char *
element,
41 const char *
name,
const char *mapset)
99 "more mapsets (also found in <%s>)"),
139static const char *find_file1(
int misc,
const char *dir,
const char *
element,
140 char *
name,
const char *mapset)
258 const char *
name,
const char *mapset)
int G_name_is_fully_qualified(const char *, char *, char *)
Check if map name is fully qualified (map @ mapset)
int G_legal_filename(const char *)
Check for legal database file name.
char * G_file_name_misc(char *, const char *, const char *, const char *, const char *)
Builds full path names to GIS misc data files.
char * G_file_name(char *, const char *, const char *, const char *)
Builds full path names to GIS data files.
void void void G_important_message(const char *,...) __attribute__((format(printf
const char * G_get_mapset_name(int)
Get name of the n'th mapset from the current mapset search path.
char * G_store(const char *)
Copy string to allocated memory.
const char * G_find_file2(const char *element, const char *name, const char *mapset)
Searches for a file from the mapset search list or in a specified mapset. (look but don't touch)
const char * G_find_file_misc(const char *dir, const char *element, char *name, const char *mapset)
Searches for a misc file from the mapset search list or in a specified mapset.
const char * G_find_file2_misc(const char *dir, const char *element, const char *name, const char *mapset)
Searches for a misc file from the mapset search list or in a specified mapset. (look but don't touch)
const char * G_find_file(const char *element, char *name, const char *mapset)
Searches for a file from the mapset search list or in a specified mapset.