GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-847944e18e
d_add_col.c File Reference

DBMI Library (driver) - add column to table. More...

#include <stdlib.h>
#include <grass/dbmi.h>
#include "macros.h"
#include "dbstubs.h"
Include dependency graph for d_add_col.c:

Go to the source code of this file.

Functions

int db_d_add_column (void)
 Add column to table. More...
 

Detailed Description

DBMI Library (driver) - add column to table.

(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 d_add_col.c.

Function Documentation

◆ db_d_add_column()

int db_d_add_column ( void  )

Add column to table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_add_col.c.

References db_driver_add_column, db_free_column(), db_free_string(), db_init_column(), db_init_string(), DB_OK, DB_RECV_COLUMN_DEFINITION, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and name.