#include <grass/gis.h>
#include <grass/dbmi.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
int | db_legal_tablename (char *s) |
Check if output is legal table name. |
int db_legal_tablename | ( | char * | s | ) |
Check if output is legal table name.
-1 if name does not start with letter A..Za..z or if name does not continue with A..Za..z0..9_@ Rule: [A-Za-z][A-Za-z0-9_@]*
name | table name to be checked |
Definition at line 17 of file legal_dbname.c.