GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
find_vect.c File Reference
#include <grass/gis.h>
#include <grass/vect/dig_defines.h>
Include dependency graph for find_vect.c:

Go to the source code of this file.


char * G_find_vector (char *name, const char *mapset)
char * G_find_vector2 (const char *name, const char *mapset)
 find a vector map (look but don't touch) More...

Function Documentation

char* G_find_vector ( char *  name,
const char *  mapset 

Definition at line 55 of file find_vect.c.

References G_find_file().

Referenced by G_find_sites().

char* G_find_vector2 ( const char *  name,
const char *  mapset 

find a vector map (look but don't touch)

The same as G_find_vector() but doesn't remove the "@<i>mapset</i>" qualification from name, if present.

Returns NULL if the map wasn't found, or the mapset the vector was found in if it was.

char *

Definition at line 75 of file find_vect.c.

References G_find_file2().

Referenced by G_find_sites2(), Gp_load_sites(), Gv_load_vect(), wxdigit.IVDigit::OpenBackgroundMap(), Vect__open_old(), Vect_check_input_output_name(), Vect_copy(), and Vect_rename().