forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
34 lines (28 loc) · 863 Bytes
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*****************************************************************************
*
* MODULE: OGR driver
*
* AUTHOR(S): Radim Blazek
* Some updates by Martin Landa <landa.martin gmail.com>
*
* PURPOSE: DB driver for OGR sources
*
* COPYRIGHT: (C) 2004-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.
*
*****************************************************************************/
#include <stdlib.h>
#include <grass/dbmi.h>
#include <ogr_api.h>
#include "globals.h"
#include "dbdriver.h"
OGRDataSourceH hDs;
dbString *errMsg = NULL; /* error message */
int main(int argc, char *argv[])
{
init_dbdriver();
exit(db_driver(argc, argv));
}