c_create_idx.c File Reference

#include <string.h>
#include "dbmi.h"
#include "macros.h"

Include dependency graph for c_create_idx.c:

Go to the source code of this file.

Functions

int db_create_index (dbDriver *driver, dbIndex *index)
int db_create_index2 (dbDriver *driver, char *table_name, char *column_name)
 Create unique index.


Function Documentation

int db_create_index ( dbDriver *  driver,
dbIndex *  index 
)

Returns:
Parameters:
 

Definition at line 12 of file c_create_idx.c.

References db__set_protocol_fds(), DB_RECV_RETURN_CODE, DB_RECV_STRING, DB_SEND_INDEX, and DB_START_PROCEDURE_CALL.

Referenced by db_create_index2().

int db_create_index2 ( dbDriver *  driver,
char *  table_name,
char *  column_name 
)

Create unique index.

Returns:
Parameters:
 

Definition at line 41 of file c_create_idx.c.

References db_alloc_index_columns(), db_create_index(), db_free_index(), db_init_index(), db_set_index_column_name(), db_set_index_name(), db_set_index_table_name(), and db_set_index_type_unique().


Generated on Wed Aug 23 17:48:33 2006 for GRASS by  doxygen 1.4.7