GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
DBMI Library (base) - DBmscap management. More...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <unistd.h>
#include <grass/dbmi.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
const char * | db_dbmscap_filename (void) |
Get dbmscap file name. More... | |
int | db_has_dbms (void) |
Check dbms. More... | |
void | db_copy_dbmscap_entry (dbDbmscap *dst, dbDbmscap *src) |
Copy dbmscap entry. More... | |
dbDbmscap * | db_read_dbmscap (void) |
Read dbmscap. More... | |
void | db_free_dbmscap (dbDbmscap *list) |
Free dbmscap. More... | |
DBMI Library (base) - DBmscap management.
(C) 1999-2009 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.
Definition in file dbmscap.c.
const char* db_dbmscap_filename | ( | void | ) |
Get dbmscap file name.
Definition at line 57 of file dbmscap.c.
Referenced by db_read_dbmscap().
void db_free_dbmscap | ( | dbDbmscap * | list | ) |
int db_has_dbms | ( | void | ) |
dbDbmscap* db_read_dbmscap | ( | void | ) |
Read dbmscap.
dbmscap file was used in grass5.0 but it is not used in grass5.7 until we find it necessary. All code for dbmscap file is commented here.
Instead of in dbmscap file db_read_dbmscap() searches for available dbmi drivers in /driver/db/
Definition at line 98 of file dbmscap.c.
References db_dbmscap_filename(), db_syserror(), file, and NULL.