Functions

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.

Functions

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)

Function Documentation

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

Definition at line 55 of file find_vect.c.

References G_find_file().

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.

Parameters:
name
mapset
Returns:
char *

Definition at line 75 of file find_vect.c.

References G_find_file2().