|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
DBMI Library (base) - validate DB names. More...

Go to the source code of this file.
Functions | |
| int | db_legal_tablename (const char *s) |
| Check if output is legal table name. | |
DBMI Library (base) - validate DB names.
(C) 1999-2009, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file legal_dbname.c.
Check if output is legal table name.
Rule: [A-Za-z][A-Za-z0-9_@]*
| s | table name to be checked |
Definition at line 31 of file legal_dbname.c.
References _, DB_FAILED, DB_OK, G_warning(), and GNAME_MAX.