GRASS 8 Programmer's Manual 8.6.0dev(2026)-a768b68929
Loading...
Searching...
No Matches
c_create_tab.c File Reference

DBMI Library (client) - create table. More...

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

Go to the source code of this file.

Functions

int db_create_table (dbDriver *driver, dbTable *table)
 Create table.
 

Detailed Description

DBMI Library (client) - create table.

SPDX-FileCopyrightText: 1999-2008 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file c_create_tab.c.

Function Documentation

◆ db_create_table()

int db_create_table ( dbDriver driver,
dbTable table 
)

Create table.

Parameters
driverdb driver
tabletable description (pointer to dbTable structure)
Returns
DB_OK on success
DB_FAILED on failure

Definition at line 24 of file c_create_tab.c.

References db__set_protocol_fds(), DB_OK, DB_PROC_CREATE_TABLE, DB_RECV_RETURN_CODE, DB_SEND_TABLE_DEFINITION, and DB_START_PROCEDURE_CALL.

Referenced by P_Create_Aux2_Table(), and P_Create_Aux4_Table().