@@ -20,9 +20,9 @@ use super::{
20
20
encryption_impls:: * ,
21
21
engine_store_helper_impls:: * ,
22
22
interfaces_ffi:: {
23
- BaseBuffView , ConfigJsonType , CppStrVecView , KVGetStatus , RaftProxyStatus ,
24
- RaftStoreProxyFFIHelper , RaftStoreProxyPtr , RaftstoreVer , RawCppPtr , RawCppStringPtr ,
25
- RawRustPtr , RawVoidPtr , RustStrWithView , SSTReaderInterfaces ,
23
+ BaseBuffView , CloudStorageEngineInterfaces , ConfigJsonType , CppStrVecView , KVGetStatus ,
24
+ RaftProxyStatus , RaftStoreProxyFFIHelper , RaftStoreProxyPtr , RaftstoreVer , RawCppPtr ,
25
+ RawCppStringPtr , RawRustPtr , RawVoidPtr , RustStrWithView , SSTReaderInterfaces ,
26
26
} ,
27
27
read_index_helper,
28
28
snapshot_reader_impls:: * ,
@@ -78,6 +78,12 @@ impl RaftStoreProxyFFIHelper {
78
78
fn_approx_size : Some ( ffi_approx_size) ,
79
79
fn_get_split_keys : Some ( ffi_get_split_keys) ,
80
80
} ,
81
+ cloud_storage_engine_interfaces : CloudStorageEngineInterfaces {
82
+ fn_get_keyspace_encryption : Some (
83
+ CloudStorageEngineFFI :: ffi_get_keyspace_encryption,
84
+ ) ,
85
+ fn_get_master_key : Some ( CloudStorageEngineFFI :: ffi_get_master_key) ,
86
+ } ,
81
87
fn_server_info : None ,
82
88
fn_make_read_index_task : Some ( ffi_make_read_index_task) ,
83
89
fn_make_async_waker : Some ( ffi_make_async_waker) ,
0 commit comments