GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
DBMI Library (client) - print table description info. More...
#include <string.h>
#include <grass/dbmi.h>
Go to the source code of this file.
Functions | |
void | db_print_table_definition (FILE *fd, dbTable *table) |
Print table definition info. More... | |
void | db_print_column_definition (FILE *fd, dbColumn *column) |
Print column definition info. More... | |
DBMI Library (client) - print table description info.
(C) 1999-2008 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 printtab.c.
void db_print_column_definition | ( | FILE * | fd, |
dbColumn * | column | ||
) |
Print column definition info.
fd | file descriptor |
column | column info |
Definition at line 51 of file printtab.c.
References db_convert_column_default_value_to_string(), db_get_column_description(), db_get_column_length(), db_get_column_name(), db_get_column_precision(), db_get_column_scale(), db_get_column_select_priv(), db_get_column_sqltype(), db_get_column_update_priv(), db_get_string(), db_init_string(), db_sqltype_name(), db_test_column_has_default_value(), and db_test_column_null_allowed().
Referenced by db_print_table_definition().
void db_print_table_definition | ( | FILE * | fd, |
dbTable * | table | ||
) |
Print table definition info.
fd | file descriptor |
table | table info |
Definition at line 26 of file printtab.c.
References db_get_table_column(), db_get_table_delete_priv(), db_get_table_description(), db_get_table_insert_priv(), db_get_table_name(), db_get_table_number_of_columns(), and db_print_column_definition().