GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 (const char *prompt, char *name)
 prompt for new raster map More...
 
char * G_ask_cell_old (const char *prompt, char *name)
 prompt for existing raster map More...
 
char * G_ask_cell_in_mapset (const char *prompt, char *name)
 prompt for existing raster map More...
 
char * G_ask_cell_any (const char *prompt, char *name)
 

Function Documentation

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

Definition at line 94 of file ask_cell.c.

References G_ask_any_ext().

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

prompt for existing raster map

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

Parameters
prompt
name
Returns
char *

Definition at line 88 of file ask_cell.c.

References G_ask_in_mapset_ext().

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

prompt for new raster map

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

Parameters
prompt
name
Returns
char *

Definition at line 51 of file ask_cell.c.

References G_ask_new_ext().

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

prompt for existing raster map

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 70 of file ask_cell.c.

References G_ask_old_ext().