ask_cell.c File Reference

#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>

Include dependency graph for ask_cell.c:

Go to the source code of this file.

Functions

char * G_ask_cell_new (char *prompt, char *name)
 prompt for new raster file
char * G_ask_cell_old (char *prompt, char *name)
 prompt for existing raster file
char * G_ask_cell_in_mapset (char *prompt, char *name)
 prompt for existing raster file
char * G_ask_cell_any (char *prompt, char *name)


Function Documentation

char* G_ask_cell_any ( char *  prompt,
char *  name 
)

Definition at line 98 of file ask_cell.c.

References G_ask_any_ext().

char* G_ask_cell_in_mapset ( char *  prompt,
char *  name 
)

prompt for existing raster file

Asks the user to enter the name of an existing raster file in the current mapset.

Parameters:
prompt 
name 
Returns:
char *

Definition at line 91 of file ask_cell.c.

References G_ask_in_mapset_ext().

char* G_ask_cell_new ( char *  prompt,
char *  name 
)

prompt for new raster file

Asks the user to enter a name for a raster file which does not exist in the current mapset.

Parameters:
prompt 
name 
Returns:
char *

Definition at line 52 of file ask_cell.c.

References G_ask_new_ext().

char* G_ask_cell_old ( char *  prompt,
char *  name 
)

prompt for existing raster file

Asks the user to enter the name of an existing raster file in any mapset in the database.

Parameters:
prompt 
name 
Returns:
char *

Definition at line 72 of file ask_cell.c.

References G_ask_old_ext().


Generated on Sun Apr 6 17:32:15 2008 for GRASS by  doxygen 1.5.5