00001 /* 00002 ********************************************************************** 00003 * char * 00004 * G_find_cell (name, mapset) 00005 * char *name file name to look for 00006 * char *mapset mapset to search. if mapset is "" 00007 * will search in mapset search list 00008 * 00009 * searches for a cell file from the mapset search list 00010 * or in a specified mapset. 00011 * returns the mapset name where the cell file was found. 00012 * 00013 * returns: 00014 * char * pointer to a string with name of mapset 00015 * where cell file was found, or NULL if not found 00016 * note: 00017 * rejects all names that begin with . 00018 * 00019 * if name is of the form nnn in ppp then 00020 * name = nnn and mapset = ppp 00021 **********************************************************************/ 00022 00023 #include <grass/gis.h> 00024 00025 00059 char * 00060 G_find_cell (char *name, char *mapset) 00061 00062 { 00063 return G_find_file ("cell", name, mapset); 00064 } 00065 00066 char * 00067 G_find_cell2 (char *name, char *mapset) 00068 00069 { 00070 return G_find_file2 ("cell", name, mapset); 00071 }