legal_name.c File Reference

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

Include dependency graph for legal_name.c:

Go to the source code of this file.

Functions

int G_legal_filename (char *s)
 check for legal database file names


Function Documentation

int G_legal_filename ( char *  s  ) 

check for legal database file names

Returns 1 if name is ok, -1 otherwise.

Parameters:
name 
Returns:
int

Definition at line 25 of file legal_name.c.

References fprintf().

Referenced by G__open(), G_open_raster_new(), G_open_raster_new_uncompressed(), and G_remove().


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