Import BSDDB 4.7.25 (as of svn r89086)

This commit is contained in:
Zachary Ware
2017-09-04 13:40:25 -05:00
parent 4b29e0458f
commit 8f590873d0
4781 changed files with 2241032 additions and 6 deletions

32
mod_db4/utils.h Normal file
View File

@@ -0,0 +1,32 @@
/*-
* Copyright (c) 2004,2008 Oracle. All rights reserved.
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* authors: George Schlossnagle <george@omniti.com>
*/
#ifndef DB4_UTILS_H
#define DB4_UTILS_H
#include "db_cxx.h"
#include "mod_db4_export.h"
/* locks */
int env_locks_init();
void env_global_rw_lock();
void env_global_rd_lock();
void env_global_unlock();
void env_wait_for_child_crash();
void env_child_crash();
void env_ok_to_proceed();
void env_rsrc_list_init();
int global_ref_count_increase(char *path);
int global_ref_count_decrease(char *path);
int global_ref_count_get(const char *path);
void global_ref_count_clean();
#endif
/* vim: set ts=4 sts=4 expandtab bs=2 ai fdm=marker: */