c_version.c File Reference

DBMI Library (client) - version info. More...

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

Go to the source code of this file.

Functions

int db_gversion (dbDriver *driver, dbString *client_version, dbString *driver_version)
 Get version info.

Detailed Description

DBMI Library (client) - version info.

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


Function Documentation

int db_gversion ( dbDriver *  driver,
dbString *  client_version,
dbString *  driver_version 
)

Get version info.

Note: renamed from db_version to db_gversion to avoid name conflict with Berkeley DB etc.

Parameters:
driver db driver
[out] client_version client version
[out] driver_version driver version
Returns:
DB_OK on success
DB_FAILED on failure

Definition at line 31 of file c_version.c.

References db__set_protocol_fds(), db_init_string(), DB_RECV_RETURN_CODE, DB_RECV_STRING, db_set_string(), and DB_START_PROCEDURE_CALL.

Generated on Tue Apr 6 13:27:23 2010 for GRASS Programmer's Manual by  doxygen 1.6.3