GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-f63024f571
d_create_idx.c File Reference

DBMI Library (driver) - create index. More...

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

Go to the source code of this file.

Functions

int db_d_create_index (void)
 Create index. More...
 

Detailed Description

DBMI Library (driver) - create index.

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

Function Documentation

◆ db_d_create_index()

int db_d_create_index ( void  )

Create index.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_create_idx.c.

References db_driver_create_index, db_free_index(), db_init_index(), DB_OK, DB_RECV_INDEX, DB_SEND_FAILURE, DB_SEND_STRING, DB_SEND_SUCCESS, and _db_index::indexName.