1<!--$Id: lock_class.so,v 10.21 2004/08/13 03:38:57 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB: DB_LOCK</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td> 13<b>DB_LOCK</b> 14</td> 15<td align=right> 16<a href="../api_c/api_core.html"><img src="../images/api.gif" alt="API"></a> 17<a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a></td> 18</tr></table> 19<hr size=1 noshade> 20<tt> 21<b><pre> 22#include <db.h> 23<p> 24typedef struct __db_lock_u DB_LOCK; 25</pre></b> 26<hr size=1 noshade> 27<b>Description: DB_LOCK</b> 28<p>The locking interfaces for the Berkeley DB database environment are methods 29of the <a href="../api_c/env_class.html">DB_ENV</a> handle. The DB_LOCK object is the handle 30for a single lock, and has no methods of its own.</p> 31<hr size=1 noshade> 32<br><b>Class</b> 33<a href="../api_c/env_class.html">DB_ENV</a>, DB_LOCK 34<br><b>See Also</b> 35<a href="../api_c/lock_list.html">Locking Subsystem and Related Methods</a> 36</tt> 37<table width="100%"><tr><td><br></td><td align=right> 38<a href="../api_c/api_core.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a> 39</td></tr></table> 40<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 41</body> 42</html> 43