GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
ask_vctrs.c
Go to the documentation of this file.
1
/*
2
***********************************************************************
3
* prompt for vector maps (digit)
4
*
5
* char *
6
* G_ask_vector_new(prompt, name))
7
* asks user to input name of a new vector map
8
*
9
* char *
10
* G_ask_vector_old(prompt, name)
11
* asks user to input name of an existing vector map
12
*
13
* char *
14
* G_ask_vector_any(prompt, name)
15
* asks user to input any vector name
16
*
17
* char *
18
* G_ask_vector_in_mapset(prompt, name)
19
* asks user to input name of an existing vector map
20
* in current mapset
21
*
22
* parms:
23
* const char *prompt optional prompt for user
24
* char *name buffer to hold name of map found
25
*
26
* returns:
27
* char *pointer to a string with name of mapset
28
* where file was found, or NULL if not found
29
**********************************************************************/
30
#include <grass/gis.h>
31
32
44
char
*
G_ask_vector_new
(
const
char
*prompt,
char
*
name
)
45
{
46
return
G_ask_new
(prompt, name,
"vector"
,
"vector"
);
47
}
48
49
61
char
*
G_ask_vector_old
(
const
char
*prompt,
char
*
name
)
62
{
63
return
G_ask_old
(prompt, name,
"vector"
,
"vector"
);
64
}
65
66
char
*
G_ask_vector_any
(
const
char
*prompt,
char
*
name
)
67
{
68
return
G_ask_any
(prompt, name,
"vector"
,
"vector"
, 1);
69
}
70
71
83
char
*
G_ask_vector_in_mapset
(
const
char
*prompt,
char
*
name
)
84
{
85
return
G_ask_in_mapset
(prompt, name,
"vector"
,
"vector"
);
86
}
lib
gis
ask_vctrs.c
Generated on Thu Sep 26 2013 09:47:58 for GRASS Programmer's Manual by
1.8.4