grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

printtab.c File Reference

DBMI Library (client) - print table description info. More...

#include <string.h>
#include <grass/dbmi.h>
Include dependency graph for printtab.c:

Go to the source code of this file.

Functions

static void print_priv (FILE *fd, char *label, int priv)
 
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...
 

Detailed Description

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.

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file printtab.c.

Function Documentation

◆ db_print_column_definition()

◆ db_print_table_definition()

void db_print_table_definition ( FILE *  fd,
dbTable table 
)

Print table definition info.

Parameters
fdfile descriptor
tabletable 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(), db_print_column_definition(), ncols, and print_priv().

◆ print_priv()

static void print_priv ( FILE *  fd,
char *  label,
int  priv 
)
static

Definition at line 74 of file printtab.c.

References DB_GRANTED, and DB_NOT_GRANTED.

Referenced by db_print_column_definition(), and db_print_table_definition().