find_cell.c

Go to the documentation of this file.
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 "gis.h"
00024 
00025 
00059 char *
00060 G_find_cell (name, mapset)
00061         char *name;
00062         char *mapset;
00063 {
00064         return G_find_file ("cell", name, mapset);
00065 }
00066 
00067 char *
00068 G_find_cell2 (name, mapset)
00069         char *name;
00070         char *mapset;
00071 {
00072         return G_find_file2 ("cell", name, mapset);
00073 }

Generated on Wed Aug 23 17:49:22 2006 for GRASS by  doxygen 1.4.7