summaryrefslogtreecommitdiff
path: root/lang/csharp/src/Internal/DB_ENV.cs
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /lang/csharp/src/Internal/DB_ENV.cs
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'lang/csharp/src/Internal/DB_ENV.cs')
-rw-r--r--lang/csharp/src/Internal/DB_ENV.cs71
1 files changed, 69 insertions, 2 deletions
diff --git a/lang/csharp/src/Internal/DB_ENV.cs b/lang/csharp/src/Internal/DB_ENV.cs
index 4f3811f2..056e36b7 100644
--- a/lang/csharp/src/Internal/DB_ENV.cs
+++ b/lang/csharp/src/Internal/DB_ENV.cs
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.4
+ * Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@@ -214,6 +214,13 @@ internal class DB_ENV : IDisposable {
return ret;
}
+ internal int get_blob_dir(out string dir) {
+ int ret;
+ IntPtr dirp;
+ ret = get_blob_dir(out dirp);
+ dir = Marshal.PtrToStringAnsi(dirp);
+ return ret;
+ }
internal int get_home(out string file) {
int ret;
IntPtr fp;
@@ -645,6 +652,20 @@ internal class DB_ENV : IDisposable {
return ret;
}
+ internal int repmgr_get_incoming_queue_max(ref uint gbytes, ref uint bytes) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_repmgr_get_incoming_queue_max(swigCPtr, ref gbytes, ref bytes);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
+ internal int repmgr_set_incoming_queue_max(uint gbytes, uint bytes) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_repmgr_set_incoming_queue_max(swigCPtr, gbytes, bytes);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
internal DB_CHANNEL repmgr_channel(int eid, uint flags, ref int err) {
IntPtr cPtr = libdb_csharpPINVOKE.DB_ENV_repmgr_channel(swigCPtr, eid, flags, ref err);
DB_CHANNEL ret = (cPtr == IntPtr.Zero) ? null : new DB_CHANNEL(cPtr, false);
@@ -873,6 +894,13 @@ internal class DB_ENV : IDisposable {
return ret;
}
+ internal int rep_set_view(BDB_ReplicationViewDelegate f_repview) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_rep_set_view(swigCPtr, f_repview);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
internal int set_backup_callbacks(BDB_BackupOpenDelegate open_func, BDB_BackupWriteDelegate write_func, BDB_BackupCloseDelegate close_func) {
int ret;
ret = libdb_csharpPINVOKE.DB_ENV_set_backup_callbacks(swigCPtr, open_func, write_func, close_func);
@@ -894,6 +922,34 @@ internal class DB_ENV : IDisposable {
return ret;
}
+ internal int get_blob_dir(out IntPtr dirp) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_get_blob_dir(swigCPtr, out dirp);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
+ internal int set_blob_dir(string dir) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_set_blob_dir(swigCPtr, dir);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
+ internal int get_blob_threshold(ref uint bytes) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_get_blob_threshold(swigCPtr, ref bytes);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
+ internal int set_blob_threshold(uint bytes, uint flags) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_set_blob_threshold(swigCPtr, bytes, flags);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
internal int get_cachesize(ref uint gbytes, ref uint bytes, ref int ncache) {
int ret;
ret = libdb_csharpPINVOKE.DB_ENV_get_cachesize(swigCPtr, ref gbytes, ref bytes, ref ncache);
@@ -997,7 +1053,7 @@ internal class DB_ENV : IDisposable {
return ret;
}
- internal int get_intermediate_dir_mode(out IntPtr mode) {
+ private int get_intermediate_dir_mode(out IntPtr mode) {
int ret;
ret = libdb_csharpPINVOKE.DB_ENV_get_intermediate_dir_mode(swigCPtr, out mode);
DatabaseException.ThrowException(ret);
@@ -1284,6 +1340,17 @@ internal class DB_ENV : IDisposable {
return ret;
}
+ internal void set_msgcall(BDB_MsgcallDelegate db_msgcall_fcn) {
+ libdb_csharpPINVOKE.DB_ENV_set_msgcall(swigCPtr, db_msgcall_fcn);
+ }
+
+ internal int set_msgfile(string msgfile) {
+ int ret;
+ ret = libdb_csharpPINVOKE.DB_ENV_set_msgfile(swigCPtr, msgfile);
+ DatabaseException.ThrowException(ret);
+ return ret;
+}
+
internal int get_thread_count(ref uint count) {
int ret;
ret = libdb_csharpPINVOKE.DB_ENV_get_thread_count(swigCPtr, ref count);