legal_vname.c File Reference

#include "gis.h"
#include "Vect.h"
#include "glocale.h"

Include dependency graph for legal_vname.c:

Go to the source code of this file.

Functions

int Vect_legal_filename (char *s)
int Vect_check_input_output_name (char *input, char *output, int error)
 Check : 1) output is legal vector name 2) if can find input map 3) if input was found in current mapset, check if input != output.


Function Documentation

int Vect_check_input_output_name ( char *  input,
char *  output,
int  error 
)

Check : 1) output is legal vector name 2) if can find input map 3) if input was found in current mapset, check if input != output.

Returns:
0 OK

1 error

Parameters:
input input name
output output name
error error type GV_FATAL_EXIT, GV_FATAL_PRINT, GV_FATAL_RETURN

Definition at line 54 of file legal_vname.c.

References Vect_legal_filename().

int Vect_legal_filename ( char *  s  ) 

Definition at line 16 of file legal_vname.c.

Referenced by Vect_check_input_output_name(), and Vect_open_new().


Generated on Wed Aug 23 17:49:07 2006 for GRASS by  doxygen 1.4.7