Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

utils.h

00001 /*-
00002  * Copyright (c) 2004-2005
00003  *      Sleepycat Software.  All rights reserved.
00004  *
00005  * http://www.apache.org/licenses/LICENSE-2.0.txt
00006  * 
00007  * authors: George Schlossnagle <[email protected]>
00008  */
00009 
00010 #ifndef DB4_UTILS_H
00011 #define DB4_UTILS_H
00012 
00013 #include "db_cxx.h"
00014 #include "mod_db4_export.h"
00015 
00016 /* locks */
00017 int env_locks_init();
00018 void env_global_rw_lock();
00019 void env_global_rd_lock();
00020 void env_global_unlock();
00021 void env_wait_for_child_crash();
00022 void env_child_crash();
00023 void env_ok_to_proceed();
00024 
00025 void env_rsrc_list_init();
00026 
00027 int global_ref_count_increase(char *path);
00028 int global_ref_count_decrease(char *path);
00029 int global_ref_count_get(const char *path);
00030 void global_ref_count_clean();
00031 
00032 #endif
00033 /* vim: set ts=4 sts=4 expandtab bs=2 ai fdm=marker: */

Generated on Sun Dec 25 12:14:41 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2