1 /* ---------------------------------------------------------------------------- 2 * This file was automatically generated by SWIG (http://www.swig.org). 3 * Version 2.0.4 4 * 5 * Do not make changes to this file unless you know what you are doing--modify 6 * the SWIG interface file instead. 7 * ----------------------------------------------------------------------------- */ 8 9 namespace BerkeleyDB.Internal { 10 11 using System; 12 using System.Runtime.InteropServices; 13 14 class libdb_csharpPINVOKE { 15 16 protected class SWIGStringHelper { 17 SWIGStringDelegate(string message)18 public delegate string SWIGStringDelegate(string message); 19 static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); 20 21 [DllImport(libname, EntryPoint="SWIGRegisterStringCallback_libdb_csharp")] SWIGRegisterStringCallback_libdb_csharp(SWIGStringDelegate stringDelegate)22 public static extern void SWIGRegisterStringCallback_libdb_csharp(SWIGStringDelegate stringDelegate); 23 CreateString(string cString)24 static string CreateString(string cString) { 25 return cString; 26 } 27 SWIGStringHelper()28 static SWIGStringHelper() { 29 SWIGRegisterStringCallback_libdb_csharp(stringDelegate); 30 } 31 } 32 33 static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); 34 35 libdb_csharpPINVOKE()36 static libdb_csharpPINVOKE() { 37 } 38 39 40 [DllImport(libname, EntryPoint="CSharp_DB_CHANNEL_close")] DB_CHANNEL_close(HandleRef jarg1, uint jarg2)41 public static extern int DB_CHANNEL_close(HandleRef jarg1, uint jarg2); 42 43 [DllImport(libname, EntryPoint="CSharp_DB_CHANNEL_send_msg")] DB_CHANNEL_send_msg(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, uint jarg4)44 public static extern int DB_CHANNEL_send_msg(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, uint jarg4); 45 46 [DllImport(libname, EntryPoint="CSharp_DB_CHANNEL_send_request")] DB_CHANNEL_send_request(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, IntPtr jarg4, uint jarg5, uint jarg6)47 public static extern int DB_CHANNEL_send_request(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, IntPtr jarg4, uint jarg5, uint jarg6); 48 49 [DllImport(libname, EntryPoint="CSharp_DB_CHANNEL_set_timeout")] DB_CHANNEL_set_timeout(HandleRef jarg1, uint jarg2)50 public static extern int DB_CHANNEL_set_timeout(HandleRef jarg1, uint jarg2); 51 52 [DllImport(libname, EntryPoint="CSharp_new_DB_CHANNEL")] new_DB_CHANNEL()53 public static extern IntPtr new_DB_CHANNEL(); 54 55 [DllImport(libname, EntryPoint="CSharp_delete_DB_CHANNEL")] delete_DB_CHANNEL(HandleRef jarg1)56 public static extern void delete_DB_CHANNEL(HandleRef jarg1); 57 58 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_fillpercent_set")] DB_COMPACT_compact_fillpercent_set(HandleRef jarg1, uint jarg2)59 public static extern void DB_COMPACT_compact_fillpercent_set(HandleRef jarg1, uint jarg2); 60 61 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_fillpercent_get")] DB_COMPACT_compact_fillpercent_get(HandleRef jarg1)62 public static extern uint DB_COMPACT_compact_fillpercent_get(HandleRef jarg1); 63 64 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_timeout_set")] DB_COMPACT_compact_timeout_set(HandleRef jarg1, uint jarg2)65 public static extern void DB_COMPACT_compact_timeout_set(HandleRef jarg1, uint jarg2); 66 67 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_timeout_get")] DB_COMPACT_compact_timeout_get(HandleRef jarg1)68 public static extern uint DB_COMPACT_compact_timeout_get(HandleRef jarg1); 69 70 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_set")] DB_COMPACT_compact_pages_set(HandleRef jarg1, uint jarg2)71 public static extern void DB_COMPACT_compact_pages_set(HandleRef jarg1, uint jarg2); 72 73 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_get")] DB_COMPACT_compact_pages_get(HandleRef jarg1)74 public static extern uint DB_COMPACT_compact_pages_get(HandleRef jarg1); 75 76 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_empty_buckets_set")] DB_COMPACT_compact_empty_buckets_set(HandleRef jarg1, uint jarg2)77 public static extern void DB_COMPACT_compact_empty_buckets_set(HandleRef jarg1, uint jarg2); 78 79 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_empty_buckets_get")] DB_COMPACT_compact_empty_buckets_get(HandleRef jarg1)80 public static extern uint DB_COMPACT_compact_empty_buckets_get(HandleRef jarg1); 81 82 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_free_set")] DB_COMPACT_compact_pages_free_set(HandleRef jarg1, uint jarg2)83 public static extern void DB_COMPACT_compact_pages_free_set(HandleRef jarg1, uint jarg2); 84 85 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_free_get")] DB_COMPACT_compact_pages_free_get(HandleRef jarg1)86 public static extern uint DB_COMPACT_compact_pages_free_get(HandleRef jarg1); 87 88 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_examine_set")] DB_COMPACT_compact_pages_examine_set(HandleRef jarg1, uint jarg2)89 public static extern void DB_COMPACT_compact_pages_examine_set(HandleRef jarg1, uint jarg2); 90 91 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_examine_get")] DB_COMPACT_compact_pages_examine_get(HandleRef jarg1)92 public static extern uint DB_COMPACT_compact_pages_examine_get(HandleRef jarg1); 93 94 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_levels_set")] DB_COMPACT_compact_levels_set(HandleRef jarg1, uint jarg2)95 public static extern void DB_COMPACT_compact_levels_set(HandleRef jarg1, uint jarg2); 96 97 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_levels_get")] DB_COMPACT_compact_levels_get(HandleRef jarg1)98 public static extern uint DB_COMPACT_compact_levels_get(HandleRef jarg1); 99 100 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_deadlock_set")] DB_COMPACT_compact_deadlock_set(HandleRef jarg1, uint jarg2)101 public static extern void DB_COMPACT_compact_deadlock_set(HandleRef jarg1, uint jarg2); 102 103 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_deadlock_get")] DB_COMPACT_compact_deadlock_get(HandleRef jarg1)104 public static extern uint DB_COMPACT_compact_deadlock_get(HandleRef jarg1); 105 106 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_truncated_set")] DB_COMPACT_compact_pages_truncated_set(HandleRef jarg1, uint jarg2)107 public static extern void DB_COMPACT_compact_pages_truncated_set(HandleRef jarg1, uint jarg2); 108 109 [DllImport(libname, EntryPoint="CSharp_DB_COMPACT_compact_pages_truncated_get")] DB_COMPACT_compact_pages_truncated_get(HandleRef jarg1)110 public static extern uint DB_COMPACT_compact_pages_truncated_get(HandleRef jarg1); 111 112 [DllImport(libname, EntryPoint="CSharp_new_DB_COMPACT")] new_DB_COMPACT()113 public static extern IntPtr new_DB_COMPACT(); 114 115 [DllImport(libname, EntryPoint="CSharp_delete_DB_COMPACT")] delete_DB_COMPACT(HandleRef jarg1)116 public static extern void delete_DB_COMPACT(HandleRef jarg1); 117 118 [DllImport(libname, EntryPoint="CSharp_DB_LSN_file_set")] DB_LSN_file_set(HandleRef jarg1, uint jarg2)119 public static extern void DB_LSN_file_set(HandleRef jarg1, uint jarg2); 120 121 [DllImport(libname, EntryPoint="CSharp_DB_LSN_file_get")] DB_LSN_file_get(HandleRef jarg1)122 public static extern uint DB_LSN_file_get(HandleRef jarg1); 123 124 [DllImport(libname, EntryPoint="CSharp_DB_LSN_offset_set")] DB_LSN_offset_set(HandleRef jarg1, uint jarg2)125 public static extern void DB_LSN_offset_set(HandleRef jarg1, uint jarg2); 126 127 [DllImport(libname, EntryPoint="CSharp_DB_LSN_offset_get")] DB_LSN_offset_get(HandleRef jarg1)128 public static extern uint DB_LSN_offset_get(HandleRef jarg1); 129 130 [DllImport(libname, EntryPoint="CSharp_new_DB_LSN")] new_DB_LSN()131 public static extern IntPtr new_DB_LSN(); 132 133 [DllImport(libname, EntryPoint="CSharp_delete_DB_LSN")] delete_DB_LSN(HandleRef jarg1)134 public static extern void delete_DB_LSN(HandleRef jarg1); 135 136 [DllImport(libname, EntryPoint="CSharp_DB_api_internal_set")] DB_api_internal_set(HandleRef jarg1, BaseDatabase jarg2)137 public static extern void DB_api_internal_set(HandleRef jarg1, BaseDatabase jarg2); 138 139 [DllImport(libname, EntryPoint="CSharp_DB_api_internal_get")] DB_api_internal_get(HandleRef jarg1)140 public static extern BaseDatabase DB_api_internal_get(HandleRef jarg1); 141 142 [DllImport(libname, EntryPoint="CSharp_DB_set_usercopy")] DB_set_usercopy(HandleRef jarg1, DBTCopyDelegate jarg2)143 public static extern int DB_set_usercopy(HandleRef jarg1, DBTCopyDelegate jarg2); 144 145 [DllImport(libname, EntryPoint="CSharp_new_DB")] new_DB(HandleRef jarg1, uint jarg2)146 public static extern IntPtr new_DB(HandleRef jarg1, uint jarg2); 147 148 [DllImport(libname, EntryPoint="CSharp_delete_DB")] delete_DB(HandleRef jarg1)149 public static extern void delete_DB(HandleRef jarg1); 150 151 [DllImport(libname, EntryPoint="CSharp_DB_associate")] DB_associate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, BDB_AssociateDelegate jarg4, uint jarg5)152 public static extern int DB_associate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, BDB_AssociateDelegate jarg4, uint jarg5); 153 154 [DllImport(libname, EntryPoint="CSharp_DB_associate_foreign")] DB_associate_foreign(HandleRef jarg1, HandleRef jarg2, BDB_AssociateForeignDelegate jarg3, uint jarg4)155 public static extern int DB_associate_foreign(HandleRef jarg1, HandleRef jarg2, BDB_AssociateForeignDelegate jarg3, uint jarg4); 156 157 [DllImport(libname, EntryPoint="CSharp_DB_close")] DB_close(HandleRef jarg1, uint jarg2)158 public static extern int DB_close(HandleRef jarg1, uint jarg2); 159 160 [DllImport(libname, EntryPoint="CSharp_DB_compact")] DB_compact(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6, HandleRef jarg7)161 public static extern int DB_compact(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6, HandleRef jarg7); 162 163 [DllImport(libname, EntryPoint="CSharp_DB_cursor")] DB_cursor(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4)164 public static extern IntPtr DB_cursor(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4); 165 166 [DllImport(libname, EntryPoint="CSharp_DB_del")] DB_del(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)167 public static extern int DB_del(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 168 169 [DllImport(libname, EntryPoint="CSharp_DB_env")] DB_env(HandleRef jarg1)170 public static extern IntPtr DB_env(HandleRef jarg1); 171 172 [DllImport(libname, EntryPoint="CSharp_DB_exists")] DB_exists(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)173 public static extern int DB_exists(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 174 175 [DllImport(libname, EntryPoint="CSharp_DB_get")] DB_get(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5)176 public static extern int DB_get(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); 177 178 [DllImport(libname, EntryPoint="CSharp_DB_get_byteswapped")] DB_get_byteswapped(HandleRef jarg1, ref int jarg2)179 public static extern int DB_get_byteswapped(HandleRef jarg1, ref int jarg2); 180 181 [DllImport(libname, EntryPoint="CSharp_DB_get_dbname")] DB_get_dbname(HandleRef jarg1, out IntPtr jarg2, out IntPtr jarg3)182 public static extern int DB_get_dbname(HandleRef jarg1, out IntPtr jarg2, out IntPtr jarg3); 183 184 [DllImport(libname, EntryPoint="CSharp_DB_get_multiple")] DB_get_multiple(HandleRef jarg1)185 public static extern int DB_get_multiple(HandleRef jarg1); 186 187 [DllImport(libname, EntryPoint="CSharp_DB_get_open_flags")] DB_get_open_flags(HandleRef jarg1, ref uint jarg2)188 public static extern int DB_get_open_flags(HandleRef jarg1, ref uint jarg2); 189 190 [DllImport(libname, EntryPoint="CSharp_DB_get_transactional")] DB_get_transactional(HandleRef jarg1)191 public static extern int DB_get_transactional(HandleRef jarg1); 192 193 [DllImport(libname, EntryPoint="CSharp_DB_get_type")] DB_get_type(HandleRef jarg1, ref DBTYPE jarg2)194 public static extern int DB_get_type(HandleRef jarg1, ref DBTYPE jarg2); 195 196 [DllImport(libname, EntryPoint="CSharp_DB_join")] DB_join(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, ref int jarg4)197 public static extern IntPtr DB_join(HandleRef jarg1, IntPtr[] jarg2, uint jarg3, ref int jarg4); 198 199 [DllImport(libname, EntryPoint="CSharp_DB_key_range")] DB_key_range(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5)200 public static extern int DB_key_range(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); 201 202 [DllImport(libname, EntryPoint="CSharp_DB_open")] DB_open(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5, uint jarg6, int jarg7)203 public static extern int DB_open(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5, uint jarg6, int jarg7); 204 205 [DllImport(libname, EntryPoint="CSharp_DB_pget")] DB_pget(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6)206 public static extern int DB_pget(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6); 207 208 [DllImport(libname, EntryPoint="CSharp_DB_put")] DB_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5)209 public static extern int DB_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); 210 211 [DllImport(libname, EntryPoint="CSharp_DB_remove")] DB_remove(HandleRef jarg1, string jarg2, string jarg3, uint jarg4)212 public static extern int DB_remove(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); 213 214 [DllImport(libname, EntryPoint="CSharp_DB_rename")] DB_rename(HandleRef jarg1, string jarg2, string jarg3, string jarg4, uint jarg5)215 public static extern int DB_rename(HandleRef jarg1, string jarg2, string jarg3, string jarg4, uint jarg5); 216 217 [DllImport(libname, EntryPoint="CSharp_DB_set_append_recno")] DB_set_append_recno(HandleRef jarg1, BDB_AppendRecnoDelegate jarg2)218 public static extern int DB_set_append_recno(HandleRef jarg1, BDB_AppendRecnoDelegate jarg2); 219 220 [DllImport(libname, EntryPoint="CSharp_DB_set_bt_compare")] DB_set_bt_compare(HandleRef jarg1, BDB_CompareDelegate jarg2)221 public static extern int DB_set_bt_compare(HandleRef jarg1, BDB_CompareDelegate jarg2); 222 223 [DllImport(libname, EntryPoint="CSharp_DB_set_bt_compress")] DB_set_bt_compress(HandleRef jarg1, BDB_CompressDelegate jarg2, BDB_DecompressDelegate jarg3)224 public static extern int DB_set_bt_compress(HandleRef jarg1, BDB_CompressDelegate jarg2, BDB_DecompressDelegate jarg3); 225 226 [DllImport(libname, EntryPoint="CSharp_DB_get_bt_minkey")] DB_get_bt_minkey(HandleRef jarg1, ref uint jarg2)227 public static extern int DB_get_bt_minkey(HandleRef jarg1, ref uint jarg2); 228 229 [DllImport(libname, EntryPoint="CSharp_DB_set_bt_minkey")] DB_set_bt_minkey(HandleRef jarg1, uint jarg2)230 public static extern int DB_set_bt_minkey(HandleRef jarg1, uint jarg2); 231 232 [DllImport(libname, EntryPoint="CSharp_DB_set_bt_prefix")] DB_set_bt_prefix(HandleRef jarg1, BDB_PrefixCompareDelegate jarg2)233 public static extern int DB_set_bt_prefix(HandleRef jarg1, BDB_PrefixCompareDelegate jarg2); 234 235 [DllImport(libname, EntryPoint="CSharp_DB_get_cachesize")] DB_get_cachesize(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4)236 public static extern int DB_get_cachesize(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4); 237 238 [DllImport(libname, EntryPoint="CSharp_DB_set_cachesize")] DB_set_cachesize(HandleRef jarg1, uint jarg2, uint jarg3, int jarg4)239 public static extern int DB_set_cachesize(HandleRef jarg1, uint jarg2, uint jarg3, int jarg4); 240 241 [DllImport(libname, EntryPoint="CSharp_DB_set_dup_compare")] DB_set_dup_compare(HandleRef jarg1, BDB_CompareDelegate jarg2)242 public static extern int DB_set_dup_compare(HandleRef jarg1, BDB_CompareDelegate jarg2); 243 244 [DllImport(libname, EntryPoint="CSharp_DB_get_encrypt_flags")] DB_get_encrypt_flags(HandleRef jarg1, ref uint jarg2)245 public static extern int DB_get_encrypt_flags(HandleRef jarg1, ref uint jarg2); 246 247 [DllImport(libname, EntryPoint="CSharp_DB_set_encrypt")] DB_set_encrypt(HandleRef jarg1, string jarg2, uint jarg3)248 public static extern int DB_set_encrypt(HandleRef jarg1, string jarg2, uint jarg3); 249 250 [DllImport(libname, EntryPoint="CSharp_DB_set_errcall")] DB_set_errcall(HandleRef jarg1, BDB_ErrcallDelegate jarg2)251 public static extern void DB_set_errcall(HandleRef jarg1, BDB_ErrcallDelegate jarg2); 252 253 [DllImport(libname, EntryPoint="CSharp_DB_set_feedback")] DB_set_feedback(HandleRef jarg1, BDB_DbFeedbackDelegate jarg2)254 public static extern int DB_set_feedback(HandleRef jarg1, BDB_DbFeedbackDelegate jarg2); 255 256 [DllImport(libname, EntryPoint="CSharp_DB_get_flags")] DB_get_flags(HandleRef jarg1, ref uint jarg2)257 public static extern int DB_get_flags(HandleRef jarg1, ref uint jarg2); 258 259 [DllImport(libname, EntryPoint="CSharp_DB_set_flags")] DB_set_flags(HandleRef jarg1, uint jarg2)260 public static extern int DB_set_flags(HandleRef jarg1, uint jarg2); 261 262 [DllImport(libname, EntryPoint="CSharp_DB_get_heapsize")] DB_get_heapsize(HandleRef jarg1, ref uint jarg2, ref uint jarg3)263 public static extern int DB_get_heapsize(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 264 265 [DllImport(libname, EntryPoint="CSharp_DB_set_heapsize")] DB_set_heapsize(HandleRef jarg1, uint jarg2, uint jarg3)266 public static extern int DB_set_heapsize(HandleRef jarg1, uint jarg2, uint jarg3); 267 268 [DllImport(libname, EntryPoint="CSharp_DB_get_heap_regionsize")] DB_get_heap_regionsize(HandleRef jarg1, ref uint jarg2)269 public static extern int DB_get_heap_regionsize(HandleRef jarg1, ref uint jarg2); 270 271 [DllImport(libname, EntryPoint="CSharp_DB_set_heap_regionsize")] DB_set_heap_regionsize(HandleRef jarg1, uint jarg2)272 public static extern int DB_set_heap_regionsize(HandleRef jarg1, uint jarg2); 273 274 [DllImport(libname, EntryPoint="CSharp_DB_set_h_compare")] DB_set_h_compare(HandleRef jarg1, BDB_CompareDelegate jarg2)275 public static extern int DB_set_h_compare(HandleRef jarg1, BDB_CompareDelegate jarg2); 276 277 [DllImport(libname, EntryPoint="CSharp_DB_get_h_ffactor")] DB_get_h_ffactor(HandleRef jarg1, ref uint jarg2)278 public static extern int DB_get_h_ffactor(HandleRef jarg1, ref uint jarg2); 279 280 [DllImport(libname, EntryPoint="CSharp_DB_set_h_ffactor")] DB_set_h_ffactor(HandleRef jarg1, uint jarg2)281 public static extern int DB_set_h_ffactor(HandleRef jarg1, uint jarg2); 282 283 [DllImport(libname, EntryPoint="CSharp_DB_set_h_hash")] DB_set_h_hash(HandleRef jarg1, BDB_HashDelegate jarg2)284 public static extern int DB_set_h_hash(HandleRef jarg1, BDB_HashDelegate jarg2); 285 286 [DllImport(libname, EntryPoint="CSharp_DB_get_h_nelem")] DB_get_h_nelem(HandleRef jarg1, ref uint jarg2)287 public static extern int DB_get_h_nelem(HandleRef jarg1, ref uint jarg2); 288 289 [DllImport(libname, EntryPoint="CSharp_DB_set_h_nelem")] DB_set_h_nelem(HandleRef jarg1, uint jarg2)290 public static extern int DB_set_h_nelem(HandleRef jarg1, uint jarg2); 291 292 [DllImport(libname, EntryPoint="CSharp_DB_get_lk_exclusive")] DB_get_lk_exclusive(HandleRef jarg1, ref int jarg2, ref int jarg3)293 public static extern int DB_get_lk_exclusive(HandleRef jarg1, ref int jarg2, ref int jarg3); 294 295 [DllImport(libname, EntryPoint="CSharp_DB_set_lk_exclusive")] DB_set_lk_exclusive(HandleRef jarg1, int jarg2)296 public static extern int DB_set_lk_exclusive(HandleRef jarg1, int jarg2); 297 298 [DllImport(libname, EntryPoint="CSharp_DB_get_lorder")] DB_get_lorder(HandleRef jarg1, ref int jarg2)299 public static extern int DB_get_lorder(HandleRef jarg1, ref int jarg2); 300 301 [DllImport(libname, EntryPoint="CSharp_DB_set_lorder")] DB_set_lorder(HandleRef jarg1, int jarg2)302 public static extern int DB_set_lorder(HandleRef jarg1, int jarg2); 303 304 [DllImport(libname, EntryPoint="CSharp_DB_get_pagesize")] DB_get_pagesize(HandleRef jarg1, ref uint jarg2)305 public static extern int DB_get_pagesize(HandleRef jarg1, ref uint jarg2); 306 307 [DllImport(libname, EntryPoint="CSharp_DB_set_pagesize")] DB_set_pagesize(HandleRef jarg1, uint jarg2)308 public static extern int DB_set_pagesize(HandleRef jarg1, uint jarg2); 309 310 [DllImport(libname, EntryPoint="CSharp_DB_get_priority")] DB_get_priority(HandleRef jarg1, ref uint jarg2)311 public static extern int DB_get_priority(HandleRef jarg1, ref uint jarg2); 312 313 [DllImport(libname, EntryPoint="CSharp_DB_set_priority")] DB_set_priority(HandleRef jarg1, uint jarg2)314 public static extern int DB_set_priority(HandleRef jarg1, uint jarg2); 315 316 [DllImport(libname, EntryPoint="CSharp_DB_get_q_extentsize")] DB_get_q_extentsize(HandleRef jarg1, ref uint jarg2)317 public static extern int DB_get_q_extentsize(HandleRef jarg1, ref uint jarg2); 318 319 [DllImport(libname, EntryPoint="CSharp_DB_set_q_extentsize")] DB_set_q_extentsize(HandleRef jarg1, uint jarg2)320 public static extern int DB_set_q_extentsize(HandleRef jarg1, uint jarg2); 321 322 [DllImport(libname, EntryPoint="CSharp_DB_get_re_delim")] DB_get_re_delim(HandleRef jarg1, ref int jarg2)323 public static extern int DB_get_re_delim(HandleRef jarg1, ref int jarg2); 324 325 [DllImport(libname, EntryPoint="CSharp_DB_set_re_delim")] DB_set_re_delim(HandleRef jarg1, int jarg2)326 public static extern int DB_set_re_delim(HandleRef jarg1, int jarg2); 327 328 [DllImport(libname, EntryPoint="CSharp_DB_get_re_len")] DB_get_re_len(HandleRef jarg1, ref uint jarg2)329 public static extern int DB_get_re_len(HandleRef jarg1, ref uint jarg2); 330 331 [DllImport(libname, EntryPoint="CSharp_DB_set_re_len")] DB_set_re_len(HandleRef jarg1, uint jarg2)332 public static extern int DB_set_re_len(HandleRef jarg1, uint jarg2); 333 334 [DllImport(libname, EntryPoint="CSharp_DB_get_re_pad")] DB_get_re_pad(HandleRef jarg1, ref int jarg2)335 public static extern int DB_get_re_pad(HandleRef jarg1, ref int jarg2); 336 337 [DllImport(libname, EntryPoint="CSharp_DB_set_re_pad")] DB_set_re_pad(HandleRef jarg1, int jarg2)338 public static extern int DB_set_re_pad(HandleRef jarg1, int jarg2); 339 340 [DllImport(libname, EntryPoint="CSharp_DB_get_re_source")] DB_get_re_source(HandleRef jarg1, out IntPtr jarg2)341 public static extern int DB_get_re_source(HandleRef jarg1, out IntPtr jarg2); 342 343 [DllImport(libname, EntryPoint="CSharp_DB_set_re_source")] DB_set_re_source(HandleRef jarg1, string jarg2)344 public static extern int DB_set_re_source(HandleRef jarg1, string jarg2); 345 346 [DllImport(libname, EntryPoint="CSharp_DB_stat")] DB_stat(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4)347 public static extern IntPtr DB_stat(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4); 348 349 [DllImport(libname, EntryPoint="CSharp_DB_stat_print")] DB_stat_print(HandleRef jarg1, uint jarg2)350 public static extern int DB_stat_print(HandleRef jarg1, uint jarg2); 351 352 [DllImport(libname, EntryPoint="CSharp_DB_sync")] DB_sync(HandleRef jarg1, uint jarg2)353 public static extern int DB_sync(HandleRef jarg1, uint jarg2); 354 355 [DllImport(libname, EntryPoint="CSharp_DB_truncate")] DB_truncate(HandleRef jarg1, HandleRef jarg2, ref uint jarg3, uint jarg4)356 public static extern int DB_truncate(HandleRef jarg1, HandleRef jarg2, ref uint jarg3, uint jarg4); 357 358 [DllImport(libname, EntryPoint="CSharp_DB_upgrade")] DB_upgrade(HandleRef jarg1, string jarg2, uint jarg3)359 public static extern int DB_upgrade(HandleRef jarg1, string jarg2, uint jarg3); 360 361 [DllImport(libname, EntryPoint="CSharp_DB_verify")] DB_verify(HandleRef jarg1, string jarg2, string jarg3, System.IO.TextWriter jarg4, BDB_FileWriteDelegate jarg5, uint jarg6)362 public static extern int DB_verify(HandleRef jarg1, string jarg2, string jarg3, System.IO.TextWriter jarg4, BDB_FileWriteDelegate jarg5, uint jarg6); 363 364 [DllImport(libname, EntryPoint="CSharp_DBC_close")] DBC_close(HandleRef jarg1)365 public static extern int DBC_close(HandleRef jarg1); 366 367 [DllImport(libname, EntryPoint="CSharp_DBC_cmp")] DBC_cmp(HandleRef jarg1, HandleRef jarg2, ref int jarg3, uint jarg4)368 public static extern int DBC_cmp(HandleRef jarg1, HandleRef jarg2, ref int jarg3, uint jarg4); 369 370 [DllImport(libname, EntryPoint="CSharp_DBC_count")] DBC_count(HandleRef jarg1, ref uint jarg2, uint jarg3)371 public static extern int DBC_count(HandleRef jarg1, ref uint jarg2, uint jarg3); 372 373 [DllImport(libname, EntryPoint="CSharp_DBC_del")] DBC_del(HandleRef jarg1, uint jarg2)374 public static extern int DBC_del(HandleRef jarg1, uint jarg2); 375 376 [DllImport(libname, EntryPoint="CSharp_DBC_dup")] DBC_dup(HandleRef jarg1, uint jarg2, ref int jarg3)377 public static extern IntPtr DBC_dup(HandleRef jarg1, uint jarg2, ref int jarg3); 378 379 [DllImport(libname, EntryPoint="CSharp_DBC_get")] DBC_get(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)380 public static extern int DBC_get(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 381 382 [DllImport(libname, EntryPoint="CSharp_DBC_pget")] DBC_pget(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5)383 public static extern int DBC_pget(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); 384 385 [DllImport(libname, EntryPoint="CSharp_DBC_put")] DBC_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)386 public static extern int DBC_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 387 388 [DllImport(libname, EntryPoint="CSharp_DBC_get_priority")] DBC_get_priority(HandleRef jarg1, ref uint jarg2)389 public static extern int DBC_get_priority(HandleRef jarg1, ref uint jarg2); 390 391 [DllImport(libname, EntryPoint="CSharp_DBC_set_priority")] DBC_set_priority(HandleRef jarg1, uint jarg2)392 public static extern int DBC_set_priority(HandleRef jarg1, uint jarg2); 393 394 [DllImport(libname, EntryPoint="CSharp_new_DBC")] new_DBC()395 public static extern IntPtr new_DBC(); 396 397 [DllImport(libname, EntryPoint="CSharp_delete_DBC")] delete_DBC(HandleRef jarg1)398 public static extern void delete_DBC(HandleRef jarg1); 399 400 [DllImport(libname, EntryPoint="CSharp_DB_TXN_TOKEN_buf_set")] DB_TXN_TOKEN_buf_set(HandleRef jarg1, byte[] jarg2)401 public static extern void DB_TXN_TOKEN_buf_set(HandleRef jarg1, byte[] jarg2); 402 403 [DllImport(libname, EntryPoint="CSharp_DB_TXN_TOKEN_buf_get")] DB_TXN_TOKEN_buf_get(HandleRef jarg1)404 public static extern IntPtr DB_TXN_TOKEN_buf_get(HandleRef jarg1); 405 406 [DllImport(libname, EntryPoint="CSharp_new_DB_TXN_TOKEN")] new_DB_TXN_TOKEN()407 public static extern IntPtr new_DB_TXN_TOKEN(); 408 409 [DllImport(libname, EntryPoint="CSharp_delete_DB_TXN_TOKEN")] delete_DB_TXN_TOKEN(HandleRef jarg1)410 public static extern void delete_DB_TXN_TOKEN(HandleRef jarg1); 411 412 [DllImport(libname, EntryPoint="CSharp_DBT_dlen_set")] DBT_dlen_set(HandleRef jarg1, uint jarg2)413 public static extern void DBT_dlen_set(HandleRef jarg1, uint jarg2); 414 415 [DllImport(libname, EntryPoint="CSharp_DBT_dlen_get")] DBT_dlen_get(HandleRef jarg1)416 public static extern uint DBT_dlen_get(HandleRef jarg1); 417 418 [DllImport(libname, EntryPoint="CSharp_DBT_doff_set")] DBT_doff_set(HandleRef jarg1, uint jarg2)419 public static extern void DBT_doff_set(HandleRef jarg1, uint jarg2); 420 421 [DllImport(libname, EntryPoint="CSharp_DBT_doff_get")] DBT_doff_get(HandleRef jarg1)422 public static extern uint DBT_doff_get(HandleRef jarg1); 423 424 [DllImport(libname, EntryPoint="CSharp_DBT_flags_set")] DBT_flags_set(HandleRef jarg1, uint jarg2)425 public static extern void DBT_flags_set(HandleRef jarg1, uint jarg2); 426 427 [DllImport(libname, EntryPoint="CSharp_DBT_flags_get")] DBT_flags_get(HandleRef jarg1)428 public static extern uint DBT_flags_get(HandleRef jarg1); 429 430 [DllImport(libname, EntryPoint="CSharp_DBT_size_set")] DBT_size_set(HandleRef jarg1, uint jarg2)431 public static extern void DBT_size_set(HandleRef jarg1, uint jarg2); 432 433 [DllImport(libname, EntryPoint="CSharp_DBT_size_get")] DBT_size_get(HandleRef jarg1)434 public static extern uint DBT_size_get(HandleRef jarg1); 435 436 [DllImport(libname, EntryPoint="CSharp_DBT_ulen_set")] DBT_ulen_set(HandleRef jarg1, uint jarg2)437 public static extern void DBT_ulen_set(HandleRef jarg1, uint jarg2); 438 439 [DllImport(libname, EntryPoint="CSharp_DBT_ulen_get")] DBT_ulen_get(HandleRef jarg1)440 public static extern uint DBT_ulen_get(HandleRef jarg1); 441 442 [DllImport(libname, EntryPoint="CSharp_DBT_data_set")] DBT_data_set(HandleRef jarg1, IntPtr jarg2)443 public static extern void DBT_data_set(HandleRef jarg1, IntPtr jarg2); 444 445 [DllImport(libname, EntryPoint="CSharp_DBT_data_get")] DBT_data_get(HandleRef jarg1)446 public static extern IntPtr DBT_data_get(HandleRef jarg1); 447 448 [DllImport(libname, EntryPoint="CSharp_DBT_app_data_set")] DBT_app_data_set(HandleRef jarg1, DatabaseEntry jarg2)449 public static extern void DBT_app_data_set(HandleRef jarg1, DatabaseEntry jarg2); 450 451 [DllImport(libname, EntryPoint="CSharp_DBT_app_data_get")] DBT_app_data_get(HandleRef jarg1)452 public static extern DatabaseEntry DBT_app_data_get(HandleRef jarg1); 453 454 [DllImport(libname, EntryPoint="CSharp_new_DBT")] new_DBT()455 public static extern IntPtr new_DBT(); 456 457 [DllImport(libname, EntryPoint="CSharp_delete_DBT")] delete_DBT(HandleRef jarg1)458 public static extern void delete_DBT(HandleRef jarg1); 459 460 [DllImport(libname, EntryPoint="CSharp_DB_SITE_close")] DB_SITE_close(HandleRef jarg1)461 public static extern int DB_SITE_close(HandleRef jarg1); 462 463 [DllImport(libname, EntryPoint="CSharp_DB_SITE_get_address")] DB_SITE_get_address(HandleRef jarg1, out IntPtr jarg2, ref uint jarg3)464 public static extern int DB_SITE_get_address(HandleRef jarg1, out IntPtr jarg2, ref uint jarg3); 465 466 [DllImport(libname, EntryPoint="CSharp_DB_SITE_get_config")] DB_SITE_get_config(HandleRef jarg1, uint jarg2, ref uint jarg3)467 public static extern int DB_SITE_get_config(HandleRef jarg1, uint jarg2, ref uint jarg3); 468 469 [DllImport(libname, EntryPoint="CSharp_DB_SITE_get_eid")] DB_SITE_get_eid(HandleRef jarg1, ref int jarg2)470 public static extern int DB_SITE_get_eid(HandleRef jarg1, ref int jarg2); 471 472 [DllImport(libname, EntryPoint="CSharp_DB_SITE_remove")] DB_SITE_remove(HandleRef jarg1)473 public static extern int DB_SITE_remove(HandleRef jarg1); 474 475 [DllImport(libname, EntryPoint="CSharp_DB_SITE_set_config")] DB_SITE_set_config(HandleRef jarg1, uint jarg2, uint jarg3)476 public static extern int DB_SITE_set_config(HandleRef jarg1, uint jarg2, uint jarg3); 477 478 [DllImport(libname, EntryPoint="CSharp_new_DB_SITE")] new_DB_SITE()479 public static extern IntPtr new_DB_SITE(); 480 481 [DllImport(libname, EntryPoint="CSharp_delete_DB_SITE")] delete_DB_SITE(HandleRef jarg1)482 public static extern void delete_DB_SITE(HandleRef jarg1); 483 484 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_eid_set")] DB_REPMGR_SITE_eid_set(HandleRef jarg1, int jarg2)485 public static extern void DB_REPMGR_SITE_eid_set(HandleRef jarg1, int jarg2); 486 487 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_eid_get")] DB_REPMGR_SITE_eid_get(HandleRef jarg1)488 public static extern int DB_REPMGR_SITE_eid_get(HandleRef jarg1); 489 490 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_host_set")] DB_REPMGR_SITE_host_set(HandleRef jarg1, string jarg2)491 public static extern void DB_REPMGR_SITE_host_set(HandleRef jarg1, string jarg2); 492 493 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_host_get")] DB_REPMGR_SITE_host_get(HandleRef jarg1)494 public static extern string DB_REPMGR_SITE_host_get(HandleRef jarg1); 495 496 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_port_set")] DB_REPMGR_SITE_port_set(HandleRef jarg1, uint jarg2)497 public static extern void DB_REPMGR_SITE_port_set(HandleRef jarg1, uint jarg2); 498 499 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_port_get")] DB_REPMGR_SITE_port_get(HandleRef jarg1)500 public static extern uint DB_REPMGR_SITE_port_get(HandleRef jarg1); 501 502 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_status_set")] DB_REPMGR_SITE_status_set(HandleRef jarg1, uint jarg2)503 public static extern void DB_REPMGR_SITE_status_set(HandleRef jarg1, uint jarg2); 504 505 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_status_get")] DB_REPMGR_SITE_status_get(HandleRef jarg1)506 public static extern uint DB_REPMGR_SITE_status_get(HandleRef jarg1); 507 508 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_flags_set")] DB_REPMGR_SITE_flags_set(HandleRef jarg1, uint jarg2)509 public static extern void DB_REPMGR_SITE_flags_set(HandleRef jarg1, uint jarg2); 510 511 [DllImport(libname, EntryPoint="CSharp_DB_REPMGR_SITE_flags_get")] DB_REPMGR_SITE_flags_get(HandleRef jarg1)512 public static extern uint DB_REPMGR_SITE_flags_get(HandleRef jarg1); 513 514 [DllImport(libname, EntryPoint="CSharp_new_DB_REPMGR_SITE")] new_DB_REPMGR_SITE()515 public static extern IntPtr new_DB_REPMGR_SITE(); 516 517 [DllImport(libname, EntryPoint="CSharp_delete_DB_REPMGR_SITE")] delete_DB_REPMGR_SITE(HandleRef jarg1)518 public static extern void delete_DB_REPMGR_SITE(HandleRef jarg1); 519 520 [DllImport(libname, EntryPoint="CSharp_DB_TXN_abort")] DB_TXN_abort(HandleRef jarg1)521 public static extern int DB_TXN_abort(HandleRef jarg1); 522 523 [DllImport(libname, EntryPoint="CSharp_DB_TXN_is_commit_token_enabled")] DB_TXN_is_commit_token_enabled(HandleRef jarg1)524 public static extern int DB_TXN_is_commit_token_enabled(HandleRef jarg1); 525 526 [DllImport(libname, EntryPoint="CSharp_DB_TXN_set_commit_token")] DB_TXN_set_commit_token(HandleRef jarg1, HandleRef jarg2)527 public static extern int DB_TXN_set_commit_token(HandleRef jarg1, HandleRef jarg2); 528 529 [DllImport(libname, EntryPoint="CSharp_DB_TXN_commit")] DB_TXN_commit(HandleRef jarg1, uint jarg2)530 public static extern int DB_TXN_commit(HandleRef jarg1, uint jarg2); 531 532 [DllImport(libname, EntryPoint="CSharp_DB_TXN_discard")] DB_TXN_discard(HandleRef jarg1, uint jarg2)533 public static extern int DB_TXN_discard(HandleRef jarg1, uint jarg2); 534 535 [DllImport(libname, EntryPoint="CSharp_DB_TXN_id")] DB_TXN_id(HandleRef jarg1)536 public static extern uint DB_TXN_id(HandleRef jarg1); 537 538 [DllImport(libname, EntryPoint="CSharp_DB_TXN_prepare")] DB_TXN_prepare(HandleRef jarg1, byte[] jarg2)539 public static extern int DB_TXN_prepare(HandleRef jarg1, byte[] jarg2); 540 541 [DllImport(libname, EntryPoint="CSharp_DB_TXN_get_name")] DB_TXN_get_name(HandleRef jarg1, out IntPtr jarg2)542 public static extern int DB_TXN_get_name(HandleRef jarg1, out IntPtr jarg2); 543 544 [DllImport(libname, EntryPoint="CSharp_DB_TXN_set_name")] DB_TXN_set_name(HandleRef jarg1, string jarg2)545 public static extern int DB_TXN_set_name(HandleRef jarg1, string jarg2); 546 547 [DllImport(libname, EntryPoint="CSharp_DB_TXN_get_priority")] DB_TXN_get_priority(HandleRef jarg1, ref uint jarg2)548 public static extern int DB_TXN_get_priority(HandleRef jarg1, ref uint jarg2); 549 550 [DllImport(libname, EntryPoint="CSharp_DB_TXN_set_priority")] DB_TXN_set_priority(HandleRef jarg1, uint jarg2)551 public static extern int DB_TXN_set_priority(HandleRef jarg1, uint jarg2); 552 553 [DllImport(libname, EntryPoint="CSharp_DB_TXN_set_timeout")] DB_TXN_set_timeout(HandleRef jarg1, uint jarg2, uint jarg3)554 public static extern int DB_TXN_set_timeout(HandleRef jarg1, uint jarg2, uint jarg3); 555 556 [DllImport(libname, EntryPoint="CSharp_new_DB_TXN")] new_DB_TXN()557 public static extern IntPtr new_DB_TXN(); 558 559 [DllImport(libname, EntryPoint="CSharp_delete_DB_TXN")] delete_DB_TXN(HandleRef jarg1)560 public static extern void delete_DB_TXN(HandleRef jarg1); 561 562 [DllImport(libname, EntryPoint="CSharp_DB_ENV_api2_internal_set")] DB_ENV_api2_internal_set(HandleRef jarg1, DatabaseEnvironment jarg2)563 public static extern void DB_ENV_api2_internal_set(HandleRef jarg1, DatabaseEnvironment jarg2); 564 565 [DllImport(libname, EntryPoint="CSharp_DB_ENV_api2_internal_get")] DB_ENV_api2_internal_get(HandleRef jarg1)566 public static extern DatabaseEnvironment DB_ENV_api2_internal_get(HandleRef jarg1); 567 568 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_usercopy")] DB_ENV_set_usercopy(HandleRef jarg1, DBTCopyDelegate jarg2)569 public static extern int DB_ENV_set_usercopy(HandleRef jarg1, DBTCopyDelegate jarg2); 570 571 [DllImport(libname, EntryPoint="CSharp_new_DB_ENV")] new_DB_ENV(uint jarg1)572 public static extern IntPtr new_DB_ENV(uint jarg1); 573 574 [DllImport(libname, EntryPoint="CSharp_delete_DB_ENV")] delete_DB_ENV(HandleRef jarg1)575 public static extern void delete_DB_ENV(HandleRef jarg1); 576 577 [DllImport(libname, EntryPoint="CSharp_DB_ENV_backup")] DB_ENV_backup(HandleRef jarg1, string jarg2, uint jarg3)578 public static extern int DB_ENV_backup(HandleRef jarg1, string jarg2, uint jarg3); 579 580 [DllImport(libname, EntryPoint="CSharp_DB_ENV_cdsgroup_begin")] DB_ENV_cdsgroup_begin(HandleRef jarg1, ref int jarg2)581 public static extern IntPtr DB_ENV_cdsgroup_begin(HandleRef jarg1, ref int jarg2); 582 583 [DllImport(libname, EntryPoint="CSharp_DB_ENV_close")] DB_ENV_close(HandleRef jarg1, uint jarg2)584 public static extern int DB_ENV_close(HandleRef jarg1, uint jarg2); 585 586 [DllImport(libname, EntryPoint="CSharp_DB_ENV_dbbackup")] DB_ENV_dbbackup(HandleRef jarg1, string jarg2, string jarg3, uint jarg4)587 public static extern int DB_ENV_dbbackup(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); 588 589 [DllImport(libname, EntryPoint="CSharp_DB_ENV_dbremove")] DB_ENV_dbremove(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5)590 public static extern int DB_ENV_dbremove(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5); 591 592 [DllImport(libname, EntryPoint="CSharp_DB_ENV_dbrename")] DB_ENV_dbrename(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, string jarg5, uint jarg6)593 public static extern int DB_ENV_dbrename(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, string jarg5, uint jarg6); 594 595 [DllImport(libname, EntryPoint="CSharp_DB_ENV_failchk")] DB_ENV_failchk(HandleRef jarg1, uint jarg2)596 public static extern int DB_ENV_failchk(HandleRef jarg1, uint jarg2); 597 598 [DllImport(libname, EntryPoint="CSharp_DB_ENV_fileid_reset")] DB_ENV_fileid_reset(HandleRef jarg1, string jarg2, uint jarg3)599 public static extern int DB_ENV_fileid_reset(HandleRef jarg1, string jarg2, uint jarg3); 600 601 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_home")] DB_ENV_get_home(HandleRef jarg1, out IntPtr jarg2)602 public static extern int DB_ENV_get_home(HandleRef jarg1, out IntPtr jarg2); 603 604 [DllImport(libname, EntryPoint="CSharp_DB_ENV_is_transaction_applied")] DB_ENV_is_transaction_applied(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4)605 public static extern int DB_ENV_is_transaction_applied(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); 606 607 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_detect")] DB_ENV_lock_detect(HandleRef jarg1, uint jarg2, uint jarg3, ref uint jarg4)608 public static extern int DB_ENV_lock_detect(HandleRef jarg1, uint jarg2, uint jarg3, ref uint jarg4); 609 610 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_get")] DB_ENV_lock_get(HandleRef jarg1, uint jarg2, uint jarg3, HandleRef jarg4, int jarg5, ref int jarg6)611 public static extern IntPtr DB_ENV_lock_get(HandleRef jarg1, uint jarg2, uint jarg3, HandleRef jarg4, int jarg5, ref int jarg6); 612 613 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_id")] DB_ENV_lock_id(HandleRef jarg1, ref uint jarg2)614 public static extern int DB_ENV_lock_id(HandleRef jarg1, ref uint jarg2); 615 616 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_id_free")] DB_ENV_lock_id_free(HandleRef jarg1, uint jarg2)617 public static extern int DB_ENV_lock_id_free(HandleRef jarg1, uint jarg2); 618 619 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_put")] DB_ENV_lock_put(HandleRef jarg1, HandleRef jarg2)620 public static extern int DB_ENV_lock_put(HandleRef jarg1, HandleRef jarg2); 621 622 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_stat")] DB_ENV_lock_stat(HandleRef jarg1, uint jarg2, ref int jarg3)623 public static extern IntPtr DB_ENV_lock_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 624 625 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_stat_print")] DB_ENV_lock_stat_print(HandleRef jarg1, uint jarg2)626 public static extern int DB_ENV_lock_stat_print(HandleRef jarg1, uint jarg2); 627 628 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lock_vec")] DB_ENV_lock_vec(HandleRef jarg1, uint jarg2, uint jarg3, IntPtr[] jarg4, int jarg5, HandleRef jarg6)629 public static extern int DB_ENV_lock_vec(HandleRef jarg1, uint jarg2, uint jarg3, IntPtr[] jarg4, int jarg5, HandleRef jarg6); 630 631 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_archive")] DB_ENV_log_archive(HandleRef jarg1, uint jarg2, ref int jarg3, ref int jarg4)632 public static extern IntPtr DB_ENV_log_archive(HandleRef jarg1, uint jarg2, ref int jarg3, ref int jarg4); 633 634 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_file")] DB_ENV_log_file(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, uint jarg4)635 public static extern int DB_ENV_log_file(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, uint jarg4); 636 637 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_flush")] DB_ENV_log_flush(HandleRef jarg1, HandleRef jarg2)638 public static extern int DB_ENV_log_flush(HandleRef jarg1, HandleRef jarg2); 639 640 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_put")] DB_ENV_log_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)641 public static extern int DB_ENV_log_put(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 642 643 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_get_config")] DB_ENV_log_get_config(HandleRef jarg1, uint jarg2, ref int jarg3)644 public static extern int DB_ENV_log_get_config(HandleRef jarg1, uint jarg2, ref int jarg3); 645 646 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_set_config")] DB_ENV_log_set_config(HandleRef jarg1, uint jarg2, int jarg3)647 public static extern int DB_ENV_log_set_config(HandleRef jarg1, uint jarg2, int jarg3); 648 649 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_printf")] DB_ENV_log_printf(HandleRef jarg1, HandleRef jarg2, string jarg3)650 public static extern int DB_ENV_log_printf(HandleRef jarg1, HandleRef jarg2, string jarg3); 651 652 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_stat")] DB_ENV_log_stat(HandleRef jarg1, uint jarg2, ref int jarg3)653 public static extern IntPtr DB_ENV_log_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 654 655 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_stat_print")] DB_ENV_log_stat_print(HandleRef jarg1, uint jarg2)656 public static extern int DB_ENV_log_stat_print(HandleRef jarg1, uint jarg2); 657 658 [DllImport(libname, EntryPoint="CSharp_DB_ENV_lsn_reset")] DB_ENV_lsn_reset(HandleRef jarg1, string jarg2, uint jarg3)659 public static extern int DB_ENV_lsn_reset(HandleRef jarg1, string jarg2, uint jarg3); 660 661 [DllImport(libname, EntryPoint="CSharp_DB_ENV_memp_stat")] DB_ENV_memp_stat(HandleRef jarg1, ref IntPtr jarg2, uint jarg3, ref int jarg4, ref int jarg5)662 public static extern IntPtr DB_ENV_memp_stat(HandleRef jarg1, ref IntPtr jarg2, uint jarg3, ref int jarg4, ref int jarg5); 663 664 [DllImport(libname, EntryPoint="CSharp_DB_ENV_memp_stat_print")] DB_ENV_memp_stat_print(HandleRef jarg1, uint jarg2)665 public static extern int DB_ENV_memp_stat_print(HandleRef jarg1, uint jarg2); 666 667 [DllImport(libname, EntryPoint="CSharp_DB_ENV_memp_sync")] DB_ENV_memp_sync(HandleRef jarg1, HandleRef jarg2)668 public static extern int DB_ENV_memp_sync(HandleRef jarg1, HandleRef jarg2); 669 670 [DllImport(libname, EntryPoint="CSharp_DB_ENV_memp_trickle")] DB_ENV_memp_trickle(HandleRef jarg1, int jarg2, ref int jarg3)671 public static extern int DB_ENV_memp_trickle(HandleRef jarg1, int jarg2, ref int jarg3); 672 673 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_alloc")] DB_ENV_mutex_alloc(HandleRef jarg1, uint jarg2, ref uint jarg3)674 public static extern int DB_ENV_mutex_alloc(HandleRef jarg1, uint jarg2, ref uint jarg3); 675 676 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_free")] DB_ENV_mutex_free(HandleRef jarg1, uint jarg2)677 public static extern int DB_ENV_mutex_free(HandleRef jarg1, uint jarg2); 678 679 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_lock")] DB_ENV_mutex_lock(HandleRef jarg1, uint jarg2)680 public static extern int DB_ENV_mutex_lock(HandleRef jarg1, uint jarg2); 681 682 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_stat")] DB_ENV_mutex_stat(HandleRef jarg1, uint jarg2, ref int jarg3)683 public static extern IntPtr DB_ENV_mutex_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 684 685 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_stat_print")] DB_ENV_mutex_stat_print(HandleRef jarg1, uint jarg2)686 public static extern int DB_ENV_mutex_stat_print(HandleRef jarg1, uint jarg2); 687 688 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_unlock")] DB_ENV_mutex_unlock(HandleRef jarg1, uint jarg2)689 public static extern int DB_ENV_mutex_unlock(HandleRef jarg1, uint jarg2); 690 691 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_get_align")] DB_ENV_mutex_get_align(HandleRef jarg1, ref uint jarg2)692 public static extern int DB_ENV_mutex_get_align(HandleRef jarg1, ref uint jarg2); 693 694 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_set_align")] DB_ENV_mutex_set_align(HandleRef jarg1, uint jarg2)695 public static extern int DB_ENV_mutex_set_align(HandleRef jarg1, uint jarg2); 696 697 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_get_increment")] DB_ENV_mutex_get_increment(HandleRef jarg1, ref uint jarg2)698 public static extern int DB_ENV_mutex_get_increment(HandleRef jarg1, ref uint jarg2); 699 700 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_set_increment")] DB_ENV_mutex_set_increment(HandleRef jarg1, uint jarg2)701 public static extern int DB_ENV_mutex_set_increment(HandleRef jarg1, uint jarg2); 702 703 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_get_init")] DB_ENV_mutex_get_init(HandleRef jarg1, ref uint jarg2)704 public static extern int DB_ENV_mutex_get_init(HandleRef jarg1, ref uint jarg2); 705 706 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_set_init")] DB_ENV_mutex_set_init(HandleRef jarg1, uint jarg2)707 public static extern int DB_ENV_mutex_set_init(HandleRef jarg1, uint jarg2); 708 709 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_get_max")] DB_ENV_mutex_get_max(HandleRef jarg1, ref uint jarg2)710 public static extern int DB_ENV_mutex_get_max(HandleRef jarg1, ref uint jarg2); 711 712 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_set_max")] DB_ENV_mutex_set_max(HandleRef jarg1, uint jarg2)713 public static extern int DB_ENV_mutex_set_max(HandleRef jarg1, uint jarg2); 714 715 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_get_tas_spins")] DB_ENV_mutex_get_tas_spins(HandleRef jarg1, ref uint jarg2)716 public static extern int DB_ENV_mutex_get_tas_spins(HandleRef jarg1, ref uint jarg2); 717 718 [DllImport(libname, EntryPoint="CSharp_DB_ENV_mutex_set_tas_spins")] DB_ENV_mutex_set_tas_spins(HandleRef jarg1, uint jarg2)719 public static extern int DB_ENV_mutex_set_tas_spins(HandleRef jarg1, uint jarg2); 720 721 [DllImport(libname, EntryPoint="CSharp_DB_ENV_open")] DB_ENV_open(HandleRef jarg1, string jarg2, uint jarg3, int jarg4)722 public static extern int DB_ENV_open(HandleRef jarg1, string jarg2, uint jarg3, int jarg4); 723 724 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_open_flags")] DB_ENV_get_open_flags(HandleRef jarg1, ref uint jarg2)725 public static extern int DB_ENV_get_open_flags(HandleRef jarg1, ref uint jarg2); 726 727 [DllImport(libname, EntryPoint="CSharp_DB_ENV_remove")] DB_ENV_remove(HandleRef jarg1, string jarg2, uint jarg3)728 public static extern int DB_ENV_remove(HandleRef jarg1, string jarg2, uint jarg3); 729 730 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_set_ack_policy")] DB_ENV_repmgr_set_ack_policy(HandleRef jarg1, int jarg2)731 public static extern int DB_ENV_repmgr_set_ack_policy(HandleRef jarg1, int jarg2); 732 733 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_get_ack_policy")] DB_ENV_repmgr_get_ack_policy(HandleRef jarg1, ref int jarg2)734 public static extern int DB_ENV_repmgr_get_ack_policy(HandleRef jarg1, ref int jarg2); 735 736 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_channel")] DB_ENV_repmgr_channel(HandleRef jarg1, int jarg2, uint jarg3, ref int jarg4)737 public static extern IntPtr DB_ENV_repmgr_channel(HandleRef jarg1, int jarg2, uint jarg3, ref int jarg4); 738 739 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_local_site")] DB_ENV_repmgr_local_site(HandleRef jarg1, ref int jarg2)740 public static extern IntPtr DB_ENV_repmgr_local_site(HandleRef jarg1, ref int jarg2); 741 742 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_msg_dispatch")] DB_ENV_repmgr_msg_dispatch(HandleRef jarg1, BDB_MessageDispatchDelegate jarg2, uint jarg3)743 public static extern int DB_ENV_repmgr_msg_dispatch(HandleRef jarg1, BDB_MessageDispatchDelegate jarg2, uint jarg3); 744 745 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_site")] DB_ENV_repmgr_site(HandleRef jarg1, string jarg2, uint jarg3, ref int jarg4)746 public static extern IntPtr DB_ENV_repmgr_site(HandleRef jarg1, string jarg2, uint jarg3, ref int jarg4); 747 748 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_site_by_eid")] DB_ENV_repmgr_site_by_eid(HandleRef jarg1, int jarg2, ref int jarg3)749 public static extern IntPtr DB_ENV_repmgr_site_by_eid(HandleRef jarg1, int jarg2, ref int jarg3); 750 751 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_site_list")] DB_ENV_repmgr_site_list(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4)752 public static extern IntPtr DB_ENV_repmgr_site_list(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4); 753 754 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_start")] DB_ENV_repmgr_start(HandleRef jarg1, int jarg2, uint jarg3)755 public static extern int DB_ENV_repmgr_start(HandleRef jarg1, int jarg2, uint jarg3); 756 757 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_stat")] DB_ENV_repmgr_stat(HandleRef jarg1, uint jarg2, ref int jarg3)758 public static extern IntPtr DB_ENV_repmgr_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 759 760 [DllImport(libname, EntryPoint="CSharp_DB_ENV_repmgr_stat_print")] DB_ENV_repmgr_stat_print(HandleRef jarg1, uint jarg2)761 public static extern int DB_ENV_repmgr_stat_print(HandleRef jarg1, uint jarg2); 762 763 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_elect")] DB_ENV_rep_elect(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4)764 public static extern int DB_ENV_rep_elect(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); 765 766 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_process_message")] DB_ENV_rep_process_message(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4, HandleRef jarg5)767 public static extern int DB_ENV_rep_process_message(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4, HandleRef jarg5); 768 769 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_start")] DB_ENV_rep_start(HandleRef jarg1, HandleRef jarg2, uint jarg3)770 public static extern int DB_ENV_rep_start(HandleRef jarg1, HandleRef jarg2, uint jarg3); 771 772 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_stat")] DB_ENV_rep_stat(HandleRef jarg1, uint jarg2, ref int jarg3)773 public static extern IntPtr DB_ENV_rep_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 774 775 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_stat_print")] DB_ENV_rep_stat_print(HandleRef jarg1, uint jarg2)776 public static extern int DB_ENV_rep_stat_print(HandleRef jarg1, uint jarg2); 777 778 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_sync")] DB_ENV_rep_sync(HandleRef jarg1, uint jarg2)779 public static extern int DB_ENV_rep_sync(HandleRef jarg1, uint jarg2); 780 781 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_config")] DB_ENV_rep_set_config(HandleRef jarg1, uint jarg2, int jarg3)782 public static extern int DB_ENV_rep_set_config(HandleRef jarg1, uint jarg2, int jarg3); 783 784 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_config")] DB_ENV_rep_get_config(HandleRef jarg1, uint jarg2, ref int jarg3)785 public static extern int DB_ENV_rep_get_config(HandleRef jarg1, uint jarg2, ref int jarg3); 786 787 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_clockskew")] DB_ENV_rep_set_clockskew(HandleRef jarg1, uint jarg2, uint jarg3)788 public static extern int DB_ENV_rep_set_clockskew(HandleRef jarg1, uint jarg2, uint jarg3); 789 790 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_clockskew")] DB_ENV_rep_get_clockskew(HandleRef jarg1, ref uint jarg2, ref uint jarg3)791 public static extern int DB_ENV_rep_get_clockskew(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 792 793 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_limit")] DB_ENV_rep_set_limit(HandleRef jarg1, uint jarg2, uint jarg3)794 public static extern int DB_ENV_rep_set_limit(HandleRef jarg1, uint jarg2, uint jarg3); 795 796 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_limit")] DB_ENV_rep_get_limit(HandleRef jarg1, ref uint jarg2, ref uint jarg3)797 public static extern int DB_ENV_rep_get_limit(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 798 799 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_nsites")] DB_ENV_rep_set_nsites(HandleRef jarg1, uint jarg2)800 public static extern int DB_ENV_rep_set_nsites(HandleRef jarg1, uint jarg2); 801 802 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_nsites")] DB_ENV_rep_get_nsites(HandleRef jarg1, ref uint jarg2)803 public static extern int DB_ENV_rep_get_nsites(HandleRef jarg1, ref uint jarg2); 804 805 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_priority")] DB_ENV_rep_set_priority(HandleRef jarg1, uint jarg2)806 public static extern int DB_ENV_rep_set_priority(HandleRef jarg1, uint jarg2); 807 808 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_priority")] DB_ENV_rep_get_priority(HandleRef jarg1, ref uint jarg2)809 public static extern int DB_ENV_rep_get_priority(HandleRef jarg1, ref uint jarg2); 810 811 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_request")] DB_ENV_rep_set_request(HandleRef jarg1, uint jarg2, uint jarg3)812 public static extern int DB_ENV_rep_set_request(HandleRef jarg1, uint jarg2, uint jarg3); 813 814 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_request")] DB_ENV_rep_get_request(HandleRef jarg1, ref uint jarg2, ref uint jarg3)815 public static extern int DB_ENV_rep_get_request(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 816 817 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_timeout")] DB_ENV_rep_set_timeout(HandleRef jarg1, int jarg2, uint jarg3)818 public static extern int DB_ENV_rep_set_timeout(HandleRef jarg1, int jarg2, uint jarg3); 819 820 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_get_timeout")] DB_ENV_rep_get_timeout(HandleRef jarg1, int jarg2, ref uint jarg3)821 public static extern int DB_ENV_rep_get_timeout(HandleRef jarg1, int jarg2, ref uint jarg3); 822 823 [DllImport(libname, EntryPoint="CSharp_DB_ENV_rep_set_transport")] DB_ENV_rep_set_transport(HandleRef jarg1, int jarg2, BDB_RepTransportDelegate jarg3)824 public static extern int DB_ENV_rep_set_transport(HandleRef jarg1, int jarg2, BDB_RepTransportDelegate jarg3); 825 826 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_backup_callbacks")] DB_ENV_set_backup_callbacks(HandleRef jarg1, BDB_BackupOpenDelegate jarg2, BDB_BackupWriteDelegate jarg3, BDB_BackupCloseDelegate jarg4)827 public static extern int DB_ENV_set_backup_callbacks(HandleRef jarg1, BDB_BackupOpenDelegate jarg2, BDB_BackupWriteDelegate jarg3, BDB_BackupCloseDelegate jarg4); 828 829 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_backup_config")] DB_ENV_get_backup_config(HandleRef jarg1, uint jarg2, ref uint jarg3)830 public static extern int DB_ENV_get_backup_config(HandleRef jarg1, uint jarg2, ref uint jarg3); 831 832 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_backup_config")] DB_ENV_set_backup_config(HandleRef jarg1, uint jarg2, uint jarg3)833 public static extern int DB_ENV_set_backup_config(HandleRef jarg1, uint jarg2, uint jarg3); 834 835 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_cachesize")] DB_ENV_get_cachesize(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4)836 public static extern int DB_ENV_get_cachesize(HandleRef jarg1, ref uint jarg2, ref uint jarg3, ref int jarg4); 837 838 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_cachesize")] DB_ENV_set_cachesize(HandleRef jarg1, uint jarg2, uint jarg3, int jarg4)839 public static extern int DB_ENV_set_cachesize(HandleRef jarg1, uint jarg2, uint jarg3, int jarg4); 840 841 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_cache_max")] DB_ENV_get_cache_max(HandleRef jarg1, ref uint jarg2, ref uint jarg3)842 public static extern int DB_ENV_get_cache_max(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 843 844 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_cache_max")] DB_ENV_set_cache_max(HandleRef jarg1, uint jarg2, uint jarg3)845 public static extern int DB_ENV_set_cache_max(HandleRef jarg1, uint jarg2, uint jarg3); 846 847 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_data_dirs")] DB_ENV_get_data_dirs(HandleRef jarg1, ref int jarg2, ref int jarg3)848 public static extern IntPtr DB_ENV_get_data_dirs(HandleRef jarg1, ref int jarg2, ref int jarg3); 849 850 [DllImport(libname, EntryPoint="CSharp_DB_ENV_add_data_dir")] DB_ENV_add_data_dir(HandleRef jarg1, string jarg2)851 public static extern int DB_ENV_add_data_dir(HandleRef jarg1, string jarg2); 852 853 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_create_dir")] DB_ENV_set_create_dir(HandleRef jarg1, string jarg2)854 public static extern int DB_ENV_set_create_dir(HandleRef jarg1, string jarg2); 855 856 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_encrypt_flags")] DB_ENV_get_encrypt_flags(HandleRef jarg1, ref uint jarg2)857 public static extern int DB_ENV_get_encrypt_flags(HandleRef jarg1, ref uint jarg2); 858 859 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_encrypt")] DB_ENV_set_encrypt(HandleRef jarg1, string jarg2, uint jarg3)860 public static extern int DB_ENV_set_encrypt(HandleRef jarg1, string jarg2, uint jarg3); 861 862 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_errcall")] DB_ENV_set_errcall(HandleRef jarg1, BDB_ErrcallDelegate jarg2)863 public static extern void DB_ENV_set_errcall(HandleRef jarg1, BDB_ErrcallDelegate jarg2); 864 865 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_event_notify")] DB_ENV_set_event_notify(HandleRef jarg1, BDB_EventNotifyDelegate jarg2)866 public static extern int DB_ENV_set_event_notify(HandleRef jarg1, BDB_EventNotifyDelegate jarg2); 867 868 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_feedback")] DB_ENV_set_feedback(HandleRef jarg1, BDB_EnvFeedbackDelegate jarg2)869 public static extern int DB_ENV_set_feedback(HandleRef jarg1, BDB_EnvFeedbackDelegate jarg2); 870 871 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_flags")] DB_ENV_get_flags(HandleRef jarg1, ref uint jarg2)872 public static extern int DB_ENV_get_flags(HandleRef jarg1, ref uint jarg2); 873 874 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_flags")] DB_ENV_set_flags(HandleRef jarg1, uint jarg2, int jarg3)875 public static extern int DB_ENV_set_flags(HandleRef jarg1, uint jarg2, int jarg3); 876 877 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_intermediate_dir_mode")] DB_ENV_get_intermediate_dir_mode(HandleRef jarg1, out IntPtr jarg2)878 public static extern int DB_ENV_get_intermediate_dir_mode(HandleRef jarg1, out IntPtr jarg2); 879 880 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_intermediate_dir_mode")] DB_ENV_set_intermediate_dir_mode(HandleRef jarg1, string jarg2)881 public static extern int DB_ENV_set_intermediate_dir_mode(HandleRef jarg1, string jarg2); 882 883 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_isalive")] DB_ENV_set_isalive(HandleRef jarg1, BDB_IsAliveDelegate jarg2)884 public static extern int DB_ENV_set_isalive(HandleRef jarg1, BDB_IsAliveDelegate jarg2); 885 886 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lg_bsize")] DB_ENV_get_lg_bsize(HandleRef jarg1, ref uint jarg2)887 public static extern int DB_ENV_get_lg_bsize(HandleRef jarg1, ref uint jarg2); 888 889 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lg_bsize")] DB_ENV_set_lg_bsize(HandleRef jarg1, uint jarg2)890 public static extern int DB_ENV_set_lg_bsize(HandleRef jarg1, uint jarg2); 891 892 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lg_dir")] DB_ENV_get_lg_dir(HandleRef jarg1, out IntPtr jarg2)893 public static extern int DB_ENV_get_lg_dir(HandleRef jarg1, out IntPtr jarg2); 894 895 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lg_dir")] DB_ENV_set_lg_dir(HandleRef jarg1, string jarg2)896 public static extern int DB_ENV_set_lg_dir(HandleRef jarg1, string jarg2); 897 898 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lg_filemode")] DB_ENV_get_lg_filemode(HandleRef jarg1, ref int jarg2)899 public static extern int DB_ENV_get_lg_filemode(HandleRef jarg1, ref int jarg2); 900 901 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lg_filemode")] DB_ENV_set_lg_filemode(HandleRef jarg1, int jarg2)902 public static extern int DB_ENV_set_lg_filemode(HandleRef jarg1, int jarg2); 903 904 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lg_max")] DB_ENV_get_lg_max(HandleRef jarg1, ref uint jarg2)905 public static extern int DB_ENV_get_lg_max(HandleRef jarg1, ref uint jarg2); 906 907 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lg_max")] DB_ENV_set_lg_max(HandleRef jarg1, uint jarg2)908 public static extern int DB_ENV_set_lg_max(HandleRef jarg1, uint jarg2); 909 910 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lg_regionmax")] DB_ENV_get_lg_regionmax(HandleRef jarg1, ref uint jarg2)911 public static extern int DB_ENV_get_lg_regionmax(HandleRef jarg1, ref uint jarg2); 912 913 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lg_regionmax")] DB_ENV_set_lg_regionmax(HandleRef jarg1, uint jarg2)914 public static extern int DB_ENV_set_lg_regionmax(HandleRef jarg1, uint jarg2); 915 916 [DllImport(libname, EntryPoint="CSharp_DB_ENV_log_verify")] DB_ENV_log_verify(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5, long jarg6, long jarg7, uint jarg8, uint jarg9, uint jarg10, uint jarg11, int jarg12, int jarg13)917 public static extern int DB_ENV_log_verify(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5, long jarg6, long jarg7, uint jarg8, uint jarg9, uint jarg10, uint jarg11, int jarg12, int jarg13); 918 919 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_conflicts_nmodes")] DB_ENV_get_lk_conflicts_nmodes(HandleRef jarg1, ref int jarg2)920 public static extern int DB_ENV_get_lk_conflicts_nmodes(HandleRef jarg1, ref int jarg2); 921 922 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_conflicts")] DB_ENV_get_lk_conflicts(HandleRef jarg1, byte[,] jarg2)923 public static extern int DB_ENV_get_lk_conflicts(HandleRef jarg1, byte[,] jarg2); 924 925 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_conflicts")] DB_ENV_set_lk_conflicts(HandleRef jarg1, byte[,] jarg2, int jarg3)926 public static extern int DB_ENV_set_lk_conflicts(HandleRef jarg1, byte[,] jarg2, int jarg3); 927 928 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_detect")] DB_ENV_get_lk_detect(HandleRef jarg1, ref uint jarg2)929 public static extern int DB_ENV_get_lk_detect(HandleRef jarg1, ref uint jarg2); 930 931 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_detect")] DB_ENV_set_lk_detect(HandleRef jarg1, uint jarg2)932 public static extern int DB_ENV_set_lk_detect(HandleRef jarg1, uint jarg2); 933 934 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_max_locks")] DB_ENV_get_lk_max_locks(HandleRef jarg1, ref uint jarg2)935 public static extern int DB_ENV_get_lk_max_locks(HandleRef jarg1, ref uint jarg2); 936 937 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_max_locks")] DB_ENV_set_lk_max_locks(HandleRef jarg1, uint jarg2)938 public static extern int DB_ENV_set_lk_max_locks(HandleRef jarg1, uint jarg2); 939 940 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_max_lockers")] DB_ENV_get_lk_max_lockers(HandleRef jarg1, ref uint jarg2)941 public static extern int DB_ENV_get_lk_max_lockers(HandleRef jarg1, ref uint jarg2); 942 943 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_max_lockers")] DB_ENV_set_lk_max_lockers(HandleRef jarg1, uint jarg2)944 public static extern int DB_ENV_set_lk_max_lockers(HandleRef jarg1, uint jarg2); 945 946 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_max_objects")] DB_ENV_get_lk_max_objects(HandleRef jarg1, ref uint jarg2)947 public static extern int DB_ENV_get_lk_max_objects(HandleRef jarg1, ref uint jarg2); 948 949 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_max_objects")] DB_ENV_set_lk_max_objects(HandleRef jarg1, uint jarg2)950 public static extern int DB_ENV_set_lk_max_objects(HandleRef jarg1, uint jarg2); 951 952 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_partitions")] DB_ENV_get_lk_partitions(HandleRef jarg1, ref uint jarg2)953 public static extern int DB_ENV_get_lk_partitions(HandleRef jarg1, ref uint jarg2); 954 955 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_partitions")] DB_ENV_set_lk_partitions(HandleRef jarg1, uint jarg2)956 public static extern int DB_ENV_set_lk_partitions(HandleRef jarg1, uint jarg2); 957 958 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_lk_tablesize")] DB_ENV_get_lk_tablesize(HandleRef jarg1, ref uint jarg2)959 public static extern int DB_ENV_get_lk_tablesize(HandleRef jarg1, ref uint jarg2); 960 961 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_lk_tablesize")] DB_ENV_set_lk_tablesize(HandleRef jarg1, uint jarg2)962 public static extern int DB_ENV_set_lk_tablesize(HandleRef jarg1, uint jarg2); 963 964 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_memory_init")] DB_ENV_get_memory_init(HandleRef jarg1, uint jarg2, ref uint jarg3)965 public static extern int DB_ENV_get_memory_init(HandleRef jarg1, uint jarg2, ref uint jarg3); 966 967 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_memory_init")] DB_ENV_set_memory_init(HandleRef jarg1, uint jarg2, uint jarg3)968 public static extern int DB_ENV_set_memory_init(HandleRef jarg1, uint jarg2, uint jarg3); 969 970 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_memory_max")] DB_ENV_get_memory_max(HandleRef jarg1, ref uint jarg2, ref uint jarg3)971 public static extern int DB_ENV_get_memory_max(HandleRef jarg1, ref uint jarg2, ref uint jarg3); 972 973 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_memory_max")] DB_ENV_set_memory_max(HandleRef jarg1, uint jarg2, uint jarg3)974 public static extern int DB_ENV_set_memory_max(HandleRef jarg1, uint jarg2, uint jarg3); 975 976 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_metadata_dir")] DB_ENV_get_metadata_dir(HandleRef jarg1, out IntPtr jarg2)977 public static extern int DB_ENV_get_metadata_dir(HandleRef jarg1, out IntPtr jarg2); 978 979 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_metadata_dir")] DB_ENV_set_metadata_dir(HandleRef jarg1, string jarg2)980 public static extern int DB_ENV_set_metadata_dir(HandleRef jarg1, string jarg2); 981 982 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_mp_max_openfd")] DB_ENV_get_mp_max_openfd(HandleRef jarg1, ref int jarg2)983 public static extern int DB_ENV_get_mp_max_openfd(HandleRef jarg1, ref int jarg2); 984 985 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_mp_max_openfd")] DB_ENV_set_mp_max_openfd(HandleRef jarg1, int jarg2)986 public static extern int DB_ENV_set_mp_max_openfd(HandleRef jarg1, int jarg2); 987 988 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_mp_max_write")] DB_ENV_get_mp_max_write(HandleRef jarg1, ref int jarg2, ref uint jarg3)989 public static extern int DB_ENV_get_mp_max_write(HandleRef jarg1, ref int jarg2, ref uint jarg3); 990 991 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_mp_max_write")] DB_ENV_set_mp_max_write(HandleRef jarg1, int jarg2, uint jarg3)992 public static extern int DB_ENV_set_mp_max_write(HandleRef jarg1, int jarg2, uint jarg3); 993 994 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_mp_mmapsize")] DB_ENV_get_mp_mmapsize(HandleRef jarg1, ref uint jarg2)995 public static extern int DB_ENV_get_mp_mmapsize(HandleRef jarg1, ref uint jarg2); 996 997 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_mp_mmapsize")] DB_ENV_set_mp_mmapsize(HandleRef jarg1, uint jarg2)998 public static extern int DB_ENV_set_mp_mmapsize(HandleRef jarg1, uint jarg2); 999 1000 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_thread_count")] DB_ENV_get_thread_count(HandleRef jarg1, ref uint jarg2)1001 public static extern int DB_ENV_get_thread_count(HandleRef jarg1, ref uint jarg2); 1002 1003 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_thread_count")] DB_ENV_set_thread_count(HandleRef jarg1, uint jarg2)1004 public static extern int DB_ENV_set_thread_count(HandleRef jarg1, uint jarg2); 1005 1006 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_thread_id")] DB_ENV_set_thread_id(HandleRef jarg1, BDB_ThreadIDDelegate jarg2)1007 public static extern int DB_ENV_set_thread_id(HandleRef jarg1, BDB_ThreadIDDelegate jarg2); 1008 1009 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_thread_id_string")] DB_ENV_set_thread_id_string(HandleRef jarg1, BDB_ThreadNameDelegate jarg2)1010 public static extern int DB_ENV_set_thread_id_string(HandleRef jarg1, BDB_ThreadNameDelegate jarg2); 1011 1012 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_timeout")] DB_ENV_get_timeout(HandleRef jarg1, ref uint jarg2, uint jarg3)1013 public static extern int DB_ENV_get_timeout(HandleRef jarg1, ref uint jarg2, uint jarg3); 1014 1015 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_timeout")] DB_ENV_set_timeout(HandleRef jarg1, uint jarg2, uint jarg3)1016 public static extern int DB_ENV_set_timeout(HandleRef jarg1, uint jarg2, uint jarg3); 1017 1018 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_tmp_dir")] DB_ENV_get_tmp_dir(HandleRef jarg1, out IntPtr jarg2)1019 public static extern int DB_ENV_get_tmp_dir(HandleRef jarg1, out IntPtr jarg2); 1020 1021 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_tmp_dir")] DB_ENV_set_tmp_dir(HandleRef jarg1, string jarg2)1022 public static extern int DB_ENV_set_tmp_dir(HandleRef jarg1, string jarg2); 1023 1024 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_tx_max")] DB_ENV_get_tx_max(HandleRef jarg1, ref uint jarg2)1025 public static extern int DB_ENV_get_tx_max(HandleRef jarg1, ref uint jarg2); 1026 1027 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_tx_max")] DB_ENV_set_tx_max(HandleRef jarg1, uint jarg2)1028 public static extern int DB_ENV_set_tx_max(HandleRef jarg1, uint jarg2); 1029 1030 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_tx_timestamp")] DB_ENV_get_tx_timestamp(HandleRef jarg1, ref long jarg2)1031 public static extern int DB_ENV_get_tx_timestamp(HandleRef jarg1, ref long jarg2); 1032 1033 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_tx_timestamp")] DB_ENV_set_tx_timestamp(HandleRef jarg1, ref long jarg2)1034 public static extern int DB_ENV_set_tx_timestamp(HandleRef jarg1, ref long jarg2); 1035 1036 [DllImport(libname, EntryPoint="CSharp_DB_ENV_get_verbose")] DB_ENV_get_verbose(HandleRef jarg1, ref uint jarg2)1037 public static extern int DB_ENV_get_verbose(HandleRef jarg1, ref uint jarg2); 1038 1039 [DllImport(libname, EntryPoint="CSharp_DB_ENV_set_verbose")] DB_ENV_set_verbose(HandleRef jarg1, uint jarg2, int jarg3)1040 public static extern int DB_ENV_set_verbose(HandleRef jarg1, uint jarg2, int jarg3); 1041 1042 [DllImport(libname, EntryPoint="CSharp_DB_ENV_stat_print")] DB_ENV_stat_print(HandleRef jarg1, uint jarg2)1043 public static extern int DB_ENV_stat_print(HandleRef jarg1, uint jarg2); 1044 1045 [DllImport(libname, EntryPoint="CSharp_DB_ENV_txn_begin")] DB_ENV_txn_begin(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4)1046 public static extern IntPtr DB_ENV_txn_begin(HandleRef jarg1, HandleRef jarg2, uint jarg3, ref int jarg4); 1047 1048 [DllImport(libname, EntryPoint="CSharp_DB_ENV_txn_checkpoint")] DB_ENV_txn_checkpoint(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4)1049 public static extern int DB_ENV_txn_checkpoint(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); 1050 1051 [DllImport(libname, EntryPoint="CSharp_DB_ENV_txn_recover")] DB_ENV_txn_recover(HandleRef jarg1, IntPtr jarg2, int jarg3, ref long jarg4, uint jarg5)1052 public static extern int DB_ENV_txn_recover(HandleRef jarg1, IntPtr jarg2, int jarg3, ref long jarg4, uint jarg5); 1053 1054 [DllImport(libname, EntryPoint="CSharp_DB_ENV_txn_stat")] DB_ENV_txn_stat(HandleRef jarg1, uint jarg2, ref uint jarg3, ref int jarg4)1055 public static extern IntPtr DB_ENV_txn_stat(HandleRef jarg1, uint jarg2, ref uint jarg3, ref int jarg4); 1056 1057 [DllImport(libname, EntryPoint="CSharp_DB_ENV_txn_stat_print")] DB_ENV_txn_stat_print(HandleRef jarg1, uint jarg2)1058 public static extern int DB_ENV_txn_stat_print(HandleRef jarg1, uint jarg2); 1059 1060 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_less_set")] DB_KEY_RANGE_less_set(HandleRef jarg1, double jarg2)1061 public static extern void DB_KEY_RANGE_less_set(HandleRef jarg1, double jarg2); 1062 1063 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_less_get")] DB_KEY_RANGE_less_get(HandleRef jarg1)1064 public static extern double DB_KEY_RANGE_less_get(HandleRef jarg1); 1065 1066 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_equal_set")] DB_KEY_RANGE_equal_set(HandleRef jarg1, double jarg2)1067 public static extern void DB_KEY_RANGE_equal_set(HandleRef jarg1, double jarg2); 1068 1069 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_equal_get")] DB_KEY_RANGE_equal_get(HandleRef jarg1)1070 public static extern double DB_KEY_RANGE_equal_get(HandleRef jarg1); 1071 1072 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_greater_set")] DB_KEY_RANGE_greater_set(HandleRef jarg1, double jarg2)1073 public static extern void DB_KEY_RANGE_greater_set(HandleRef jarg1, double jarg2); 1074 1075 [DllImport(libname, EntryPoint="CSharp_DB_KEY_RANGE_greater_get")] DB_KEY_RANGE_greater_get(HandleRef jarg1)1076 public static extern double DB_KEY_RANGE_greater_get(HandleRef jarg1); 1077 1078 [DllImport(libname, EntryPoint="CSharp_new_DB_KEY_RANGE")] new_DB_KEY_RANGE()1079 public static extern IntPtr new_DB_KEY_RANGE(); 1080 1081 [DllImport(libname, EntryPoint="CSharp_delete_DB_KEY_RANGE")] delete_DB_KEY_RANGE(HandleRef jarg1)1082 public static extern void delete_DB_KEY_RANGE(HandleRef jarg1); 1083 1084 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_off_set")] DB_LOCK_off_set(HandleRef jarg1, uint jarg2)1085 public static extern void DB_LOCK_off_set(HandleRef jarg1, uint jarg2); 1086 1087 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_off_get")] DB_LOCK_off_get(HandleRef jarg1)1088 public static extern uint DB_LOCK_off_get(HandleRef jarg1); 1089 1090 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_ndx_set")] DB_LOCK_ndx_set(HandleRef jarg1, uint jarg2)1091 public static extern void DB_LOCK_ndx_set(HandleRef jarg1, uint jarg2); 1092 1093 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_ndx_get")] DB_LOCK_ndx_get(HandleRef jarg1)1094 public static extern uint DB_LOCK_ndx_get(HandleRef jarg1); 1095 1096 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_gen_set")] DB_LOCK_gen_set(HandleRef jarg1, uint jarg2)1097 public static extern void DB_LOCK_gen_set(HandleRef jarg1, uint jarg2); 1098 1099 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_gen_get")] DB_LOCK_gen_get(HandleRef jarg1)1100 public static extern uint DB_LOCK_gen_get(HandleRef jarg1); 1101 1102 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_mode_set")] DB_LOCK_mode_set(HandleRef jarg1, int jarg2)1103 public static extern void DB_LOCK_mode_set(HandleRef jarg1, int jarg2); 1104 1105 [DllImport(libname, EntryPoint="CSharp_DB_LOCK_mode_get")] DB_LOCK_mode_get(HandleRef jarg1)1106 public static extern int DB_LOCK_mode_get(HandleRef jarg1); 1107 1108 [DllImport(libname, EntryPoint="CSharp_new_DB_LOCK")] new_DB_LOCK()1109 public static extern IntPtr new_DB_LOCK(); 1110 1111 [DllImport(libname, EntryPoint="CSharp_delete_DB_LOCK")] delete_DB_LOCK(HandleRef jarg1)1112 public static extern void delete_DB_LOCK(HandleRef jarg1); 1113 1114 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_op_set")] DB_LOCKREQ_op_set(HandleRef jarg1, int jarg2)1115 public static extern void DB_LOCKREQ_op_set(HandleRef jarg1, int jarg2); 1116 1117 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_op_get")] DB_LOCKREQ_op_get(HandleRef jarg1)1118 public static extern int DB_LOCKREQ_op_get(HandleRef jarg1); 1119 1120 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_mode_set")] DB_LOCKREQ_mode_set(HandleRef jarg1, int jarg2)1121 public static extern void DB_LOCKREQ_mode_set(HandleRef jarg1, int jarg2); 1122 1123 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_mode_get")] DB_LOCKREQ_mode_get(HandleRef jarg1)1124 public static extern int DB_LOCKREQ_mode_get(HandleRef jarg1); 1125 1126 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_timeout_set")] DB_LOCKREQ_timeout_set(HandleRef jarg1, uint jarg2)1127 public static extern void DB_LOCKREQ_timeout_set(HandleRef jarg1, uint jarg2); 1128 1129 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_timeout_get")] DB_LOCKREQ_timeout_get(HandleRef jarg1)1130 public static extern uint DB_LOCKREQ_timeout_get(HandleRef jarg1); 1131 1132 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_obj_set")] DB_LOCKREQ_obj_set(HandleRef jarg1, HandleRef jarg2)1133 public static extern void DB_LOCKREQ_obj_set(HandleRef jarg1, HandleRef jarg2); 1134 1135 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_obj_get")] DB_LOCKREQ_obj_get(HandleRef jarg1)1136 public static extern IntPtr DB_LOCKREQ_obj_get(HandleRef jarg1); 1137 1138 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_lck_set")] DB_LOCKREQ_lck_set(HandleRef jarg1, HandleRef jarg2)1139 public static extern void DB_LOCKREQ_lck_set(HandleRef jarg1, HandleRef jarg2); 1140 1141 [DllImport(libname, EntryPoint="CSharp_DB_LOCKREQ_lck_get")] DB_LOCKREQ_lck_get(HandleRef jarg1)1142 public static extern IntPtr DB_LOCKREQ_lck_get(HandleRef jarg1); 1143 1144 [DllImport(libname, EntryPoint="CSharp_new_DB_LOCKREQ")] new_DB_LOCKREQ()1145 public static extern IntPtr new_DB_LOCKREQ(); 1146 1147 [DllImport(libname, EntryPoint="CSharp_delete_DB_LOCKREQ")] delete_DB_LOCKREQ(HandleRef jarg1)1148 public static extern void delete_DB_LOCKREQ(HandleRef jarg1); 1149 1150 [DllImport(libname, EntryPoint="CSharp_db_strerror")] db_strerror(int jarg1)1151 public static extern string db_strerror(int jarg1); 1152 1153 [DllImport(libname, EntryPoint="CSharp_log_compare")] log_compare(HandleRef jarg1, HandleRef jarg2)1154 public static extern int log_compare(HandleRef jarg1, HandleRef jarg2); 1155 1156 [DllImport(libname, EntryPoint="CSharp___os_ufree")] __os_ufree(HandleRef jarg1, IntPtr jarg2)1157 public static extern void __os_ufree(HandleRef jarg1, IntPtr jarg2); 1158 1159 [DllImport(libname, EntryPoint="CSharp___os_umalloc")] __os_umalloc(HandleRef jarg1, uint jarg2)1160 public static extern IntPtr __os_umalloc(HandleRef jarg1, uint jarg2); 1161 1162 [DllImport(libname, EntryPoint="CSharp_alloc_dbt_arr")] alloc_dbt_arr(HandleRef jarg1, int jarg2, out IntPtr jarg3)1163 public static extern uint alloc_dbt_arr(HandleRef jarg1, int jarg2, out IntPtr jarg3); 1164 1165 [DllImport(libname, EntryPoint="CSharp_DB_PREPLIST_txn_set")] DB_PREPLIST_txn_set(HandleRef jarg1, HandleRef jarg2)1166 public static extern void DB_PREPLIST_txn_set(HandleRef jarg1, HandleRef jarg2); 1167 1168 [DllImport(libname, EntryPoint="CSharp_DB_PREPLIST_txn_get")] DB_PREPLIST_txn_get(HandleRef jarg1)1169 public static extern IntPtr DB_PREPLIST_txn_get(HandleRef jarg1); 1170 1171 [DllImport(libname, EntryPoint="CSharp_DB_PREPLIST_gid_set")] DB_PREPLIST_gid_set(HandleRef jarg1, byte[] jarg2)1172 public static extern void DB_PREPLIST_gid_set(HandleRef jarg1, byte[] jarg2); 1173 1174 [DllImport(libname, EntryPoint="CSharp_DB_PREPLIST_gid_get")] DB_PREPLIST_gid_get(HandleRef jarg1)1175 public static extern byte[] DB_PREPLIST_gid_get(HandleRef jarg1); 1176 1177 [DllImport(libname, EntryPoint="CSharp_new_DB_PREPLIST")] new_DB_PREPLIST()1178 public static extern IntPtr new_DB_PREPLIST(); 1179 1180 [DllImport(libname, EntryPoint="CSharp_delete_DB_PREPLIST")] delete_DB_PREPLIST(HandleRef jarg1)1181 public static extern void delete_DB_PREPLIST(HandleRef jarg1); 1182 1183 [DllImport(libname, EntryPoint="CSharp_new_DB_SEQUENCE")] new_DB_SEQUENCE(HandleRef jarg1, uint jarg2)1184 public static extern IntPtr new_DB_SEQUENCE(HandleRef jarg1, uint jarg2); 1185 1186 [DllImport(libname, EntryPoint="CSharp_delete_DB_SEQUENCE")] delete_DB_SEQUENCE(HandleRef jarg1)1187 public static extern void delete_DB_SEQUENCE(HandleRef jarg1); 1188 1189 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_close")] DB_SEQUENCE_close(HandleRef jarg1, uint jarg2)1190 public static extern int DB_SEQUENCE_close(HandleRef jarg1, uint jarg2); 1191 1192 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get")] DB_SEQUENCE_get(HandleRef jarg1, HandleRef jarg2, int jarg3, ref Int64 jarg4, uint jarg5)1193 public static extern int DB_SEQUENCE_get(HandleRef jarg1, HandleRef jarg2, int jarg3, ref Int64 jarg4, uint jarg5); 1194 1195 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get_db")] DB_SEQUENCE_get_db(HandleRef jarg1)1196 public static extern IntPtr DB_SEQUENCE_get_db(HandleRef jarg1); 1197 1198 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get_key")] DB_SEQUENCE_get_key(HandleRef jarg1, HandleRef jarg2)1199 public static extern int DB_SEQUENCE_get_key(HandleRef jarg1, HandleRef jarg2); 1200 1201 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_initial_value")] DB_SEQUENCE_initial_value(HandleRef jarg1, Int64 jarg2)1202 public static extern int DB_SEQUENCE_initial_value(HandleRef jarg1, Int64 jarg2); 1203 1204 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_open")] DB_SEQUENCE_open(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4)1205 public static extern int DB_SEQUENCE_open(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); 1206 1207 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_remove")] DB_SEQUENCE_remove(HandleRef jarg1, HandleRef jarg2, uint jarg3)1208 public static extern int DB_SEQUENCE_remove(HandleRef jarg1, HandleRef jarg2, uint jarg3); 1209 1210 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get_cachesize")] DB_SEQUENCE_get_cachesize(HandleRef jarg1, ref int jarg2)1211 public static extern int DB_SEQUENCE_get_cachesize(HandleRef jarg1, ref int jarg2); 1212 1213 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_set_cachesize")] DB_SEQUENCE_set_cachesize(HandleRef jarg1, int jarg2)1214 public static extern int DB_SEQUENCE_set_cachesize(HandleRef jarg1, int jarg2); 1215 1216 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get_flags")] DB_SEQUENCE_get_flags(HandleRef jarg1, ref uint jarg2)1217 public static extern int DB_SEQUENCE_get_flags(HandleRef jarg1, ref uint jarg2); 1218 1219 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_set_flags")] DB_SEQUENCE_set_flags(HandleRef jarg1, uint jarg2)1220 public static extern int DB_SEQUENCE_set_flags(HandleRef jarg1, uint jarg2); 1221 1222 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_get_range")] DB_SEQUENCE_get_range(HandleRef jarg1, ref Int64 jarg2, ref Int64 jarg3)1223 public static extern int DB_SEQUENCE_get_range(HandleRef jarg1, ref Int64 jarg2, ref Int64 jarg3); 1224 1225 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_set_range")] DB_SEQUENCE_set_range(HandleRef jarg1, Int64 jarg2, Int64 jarg3)1226 public static extern int DB_SEQUENCE_set_range(HandleRef jarg1, Int64 jarg2, Int64 jarg3); 1227 1228 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_stat")] DB_SEQUENCE_stat(HandleRef jarg1, uint jarg2, ref int jarg3)1229 public static extern IntPtr DB_SEQUENCE_stat(HandleRef jarg1, uint jarg2, ref int jarg3); 1230 1231 [DllImport(libname, EntryPoint="CSharp_DB_SEQUENCE_stat_print")] DB_SEQUENCE_stat_print(HandleRef jarg1, uint jarg2)1232 public static extern int DB_SEQUENCE_stat_print(HandleRef jarg1, uint jarg2); 1233 1234 #if DEBUG 1235 private const string libname = "libdb_csharp" + DbConstants.DB_VERSION_MAJOR_STR + DbConstants.DB_VERSION_MINOR_STR + "d"; 1236 #else 1237 private const string libname = "libdb_csharp" + DbConstants.DB_VERSION_MAJOR_STR + DbConstants.DB_VERSION_MINOR_STR; 1238 #endif 1239 1240 } 1241 1242 } 1243