~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/docs/api_c/env_version.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.10.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 128.
  • Revision ID: james.westby@ubuntu.com-20100517170206-xu1wmjuy40nt2sk0
Tags: upstream-2.30.1
ImportĀ upstreamĀ versionĀ 2.30.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--$Id$-->
2
 
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
 
<!--All rights reserved.-->
4
 
<!--See the file LICENSE for redistribution information.-->
5
 
<html>
6
 
<head>
7
 
<title>Berkeley DB: db_version</title>
8
 
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
 
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
10
 
</head>
11
 
<body bgcolor=white>
12
 
<a name="2"><!--meow--></a>
13
 
<table width="100%"><tr valign=top>
14
 
<td>
15
 
<h1>db_version</h1>
16
 
</td>
17
 
<td align=right>
18
 
<a href="../api_c/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
19
 
</td></tr></table>
20
 
<hr size=1 noshade>
21
 
<tt>
22
 
<h3><pre>
23
 
#include &lt;db.h&gt;
24
 
<p>
25
 
char *
26
 
db_version(int *major, int *minor, int *patch);
27
 
</pre></h3>
28
 
<h1>Description</h1>
29
 
<p>The db_version method returns a pointer to a string containing
30
 
Berkeley DB version information.  If <b>major</b> is non-NULL, the major
31
 
version of the Berkeley DB release is stored in the memory to which it refers.
32
 
If <b>minor</b> is non-NULL, the minor version of the Berkeley DB release
33
 
is stored in the memory to which it refers.  If <b>patch</b> is
34
 
non-NULL, the patch version of the Berkeley DB release is stored in the
35
 
memory to which it refers.
36
 
<h1>Class</h1>
37
 
<a href="../api_c/env_class.html">DB_ENV</a>
38
 
<h1>See Also</h1>
39
 
<a href="../api_c/env_list.html">Database Environments and Related Methods</a>
40
 
</tt>
41
 
<table width="100%"><tr><td><br></td><td align=right>
42
 
<a href="../api_c/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
43
 
</td></tr></table>
44
 
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
45
 
</body>
46
 
</html>