GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
d_version.c
Go to the documentation of this file.
1
/*!
2
* \file db/dbmi_driver/d_version.c
3
*
4
* \brief DBMI Library (driver) - version info
5
*
6
* (C) 1999-2008 by the GRASS Development Team
7
*
8
* This program is free software under the GNU General Public
9
* License (>=v2). Read the file COPYING that comes with GRASS
10
* for details.
11
*
12
* \author Joel Jones (CERL/UIUC), Radim Blazek
13
*/
14
15
#include <
grass/dbmi.h
>
16
#include "
macros.h
"
17
18
/*!
19
\brief Get version info
20
21
\return DB_OK on success
22
\return DB_FAILED on failure
23
*/
24
int
db_d_version
(
void
)
25
{
26
/* no arg(s) */
27
28
/* send the return code */
29
DB_SEND_SUCCESS
();
30
31
/* send version */
32
DB_SEND_C_STRING
(
DB_VERSION
);
33
return
DB_OK
;
34
}
DB_SEND_C_STRING
#define DB_SEND_C_STRING(x)
Definition:
macros.h:16
dbmi.h
macros.h
DB_VERSION
#define DB_VERSION
Definition:
dbmi.h:18
db_d_version
int db_d_version(void)
Get version info.
Definition:
d_version.c:24
DB_SEND_SUCCESS
#define DB_SEND_SUCCESS()
Definition:
macros.h:7
DB_OK
#define DB_OK
Definition:
dbmi.h:71
lib
db
dbmi_driver
d_version.c
Generated on Mon May 31 2021 05:21:28 for GRASS GIS 7 Programmer's Manual by
1.8.13