@@ -102,6 +102,10 @@ public static int tiledb_status([NativeTypeName("capi_return_t")] int x)
102102 [ return : NativeTypeName ( "capi_return_t" ) ]
103103 public static extern int tiledb_ctx_alloc ( tiledb_config_t * config , tiledb_ctx_t * * ctx ) ;
104104
105+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
106+ [ return : NativeTypeName ( "capi_return_t" ) ]
107+ public static extern int tiledb_ctx_alloc_with_error ( tiledb_config_t * config , tiledb_ctx_t * * ctx , tiledb_error_t * * error ) ;
108+
105109 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
106110 public static extern void tiledb_ctx_free ( tiledb_ctx_t * * ctx ) ;
107111
@@ -129,6 +133,10 @@ public static int tiledb_status([NativeTypeName("capi_return_t")] int x)
129133 [ return : NativeTypeName ( "capi_return_t" ) ]
130134 public static extern int tiledb_ctx_set_tag ( tiledb_ctx_t * ctx , [ NativeTypeName ( "const char *" ) ] sbyte * key , [ NativeTypeName ( "const char *" ) ] sbyte * value ) ;
131135
136+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
137+ [ return : NativeTypeName ( "capi_return_t" ) ]
138+ public static extern int tiledb_ctx_get_data_protocol ( tiledb_ctx_t * ctx , [ NativeTypeName ( "const char *" ) ] sbyte * uri , tiledb_data_protocol_t * data_protocol ) ;
139+
132140 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
133141 [ return : NativeTypeName ( "capi_return_t" ) ]
134142 public static extern int tiledb_filter_type_to_str ( tiledb_filter_type_t filter_type , [ NativeTypeName ( "const char **" ) ] sbyte * * str ) ;
@@ -922,11 +930,6 @@ public static int tiledb_status([NativeTypeName("capi_return_t")] int x)
922930 [ return : NativeTypeName ( "capi_return_t" ) ]
923931 public static extern int tiledb_group_get_query_type ( tiledb_ctx_t * ctx , tiledb_group_t * group , tiledb_query_type_t * query_type ) ;
924932
925- [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
926- [ return : NativeTypeName ( "capi_return_t" ) ]
927- [ Obsolete ]
928- public static extern int tiledb_group_dump_str ( tiledb_ctx_t * ctx , tiledb_group_t * group , [ NativeTypeName ( "char **" ) ] sbyte * * dump_ascii , [ NativeTypeName ( "const uint8_t" ) ] byte recursive ) ;
929-
930933 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
931934 [ return : NativeTypeName ( "capi_return_t" ) ]
932935 public static extern int tiledb_group_dump_str_v2 ( tiledb_ctx_t * ctx , tiledb_group_t * group , tiledb_string_t * * dump_ascii , [ NativeTypeName ( "const uint8_t" ) ] byte recursive ) ;
@@ -1562,11 +1565,46 @@ public static int tiledb_status([NativeTypeName("capi_return_t")] int x)
15621565
15631566 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
15641567 [ return : NativeTypeName ( "capi_return_t" ) ]
1565- public static extern int tiledb_ctx_alloc_with_error ( tiledb_config_t * config , tiledb_ctx_t * * ctx , tiledb_error_t * * error ) ;
1568+ public static extern int tiledb_fragment_info_get_total_cell_num ( tiledb_ctx_t * ctx , tiledb_fragment_info_t * fragment_info , [ NativeTypeName ( "uint64_t *" ) ] ulong * count ) ;
15661569
15671570 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
15681571 [ return : NativeTypeName ( "capi_return_t" ) ]
1569- public static extern int tiledb_fragment_info_get_total_cell_num ( tiledb_ctx_t * ctx , tiledb_fragment_info_t * fragment_info , [ NativeTypeName ( "uint64_t *" ) ] ulong * count ) ;
1572+ public static extern int tiledb_profile_alloc ( [ NativeTypeName ( "const char *" ) ] sbyte * name , [ NativeTypeName ( "const char *" ) ] sbyte * dir , [ NativeTypeName ( "tiledb_profile_t **" ) ] tiledb_profile_handle_t * * profile , tiledb_error_t * * error ) ;
1573+
1574+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1575+ public static extern void tiledb_profile_free ( [ NativeTypeName ( "tiledb_profile_t **" ) ] tiledb_profile_handle_t * * profile ) ;
1576+
1577+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1578+ [ return : NativeTypeName ( "capi_return_t" ) ]
1579+ public static extern int tiledb_profile_get_name ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , tiledb_string_t * * name , tiledb_error_t * * error ) ;
1580+
1581+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1582+ [ return : NativeTypeName ( "capi_return_t" ) ]
1583+ public static extern int tiledb_profile_get_dir ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , tiledb_string_t * * dir , tiledb_error_t * * error ) ;
1584+
1585+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1586+ [ return : NativeTypeName ( "capi_return_t" ) ]
1587+ public static extern int tiledb_profile_set_param ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , [ NativeTypeName ( "const char *" ) ] sbyte * param1 , [ NativeTypeName ( "const char *" ) ] sbyte * value , tiledb_error_t * * error ) ;
1588+
1589+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1590+ [ return : NativeTypeName ( "capi_return_t" ) ]
1591+ public static extern int tiledb_profile_get_param ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , [ NativeTypeName ( "const char *" ) ] sbyte * param1 , tiledb_string_t * * value , tiledb_error_t * * error ) ;
1592+
1593+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1594+ [ return : NativeTypeName ( "capi_return_t" ) ]
1595+ public static extern int tiledb_profile_save ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , [ NativeTypeName ( "uint8_t" ) ] byte overwrite , tiledb_error_t * * error ) ;
1596+
1597+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1598+ [ return : NativeTypeName ( "capi_return_t" ) ]
1599+ public static extern int tiledb_profile_load ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , tiledb_error_t * * error ) ;
1600+
1601+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1602+ [ return : NativeTypeName ( "capi_return_t" ) ]
1603+ public static extern int tiledb_profile_remove ( [ NativeTypeName ( "const char *" ) ] sbyte * name , [ NativeTypeName ( "const char *" ) ] sbyte * dir , tiledb_error_t * * error ) ;
1604+
1605+ [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
1606+ [ return : NativeTypeName ( "capi_return_t" ) ]
1607+ public static extern int tiledb_profile_dump_str ( [ NativeTypeName ( "tiledb_profile_t *" ) ] tiledb_profile_handle_t * profile , tiledb_string_t * * @out , tiledb_error_t * * error ) ;
15701608
15711609 [ DllImport ( "tiledb" , CallingConvention = CallingConvention . Cdecl , ExactSpelling = true ) ]
15721610 [ return : NativeTypeName ( "int32_t" ) ]
0 commit comments