summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-09-17 17:26:31 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-09-18 10:14:15 +0200
commitd82b21d5ab152ab67ead5c720979320ea20bdb58 (patch)
treeb15d0f178467935f3a206a81beaa53d75d55584c /ffi
parent702d7c5dc4dfff8bb591bc87f33c968bb52cd33c (diff)
store: Rename store::Pool to Store.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/src/store.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/ffi/src/store.rs b/ffi/src/store.rs
index bdd59c53..abf47962 100644
--- a/ffi/src/store.rs
+++ b/ffi/src/store.rs
@@ -29,7 +29,7 @@ use std::ptr;
extern crate sequoia_openpgp as openpgp;
use sequoia_store::{
- self, Mapping, MappingIter, Binding, BindingIter, Key, KeyIter, LogIter, Pool,
+ self, Mapping, MappingIter, Binding, BindingIter, Key, KeyIter, LogIter, Store,
};
use super::error::Status;
@@ -100,7 +100,7 @@ fn sq_store_list_keys(ctx: *mut Context) -> *mut KeyIter {
let ctx = ffi_param_ref_mut!(ctx);
ffi_make_fry_from_ctx!(ctx);
- ffi_try_box!(Pool::list_keys(&ctx.c))
+ ffi_try_box!(Store::list_keys(&ctx.c))
}
/// Lists all log entries.
@@ -109,7 +109,7 @@ fn sq_store_server_log(ctx: *mut Context) -> *mut LogIter {
let ctx = ffi_param_ref_mut!(ctx);
ffi_make_fry_from_ctx!(ctx);
- ffi_try_box!(Pool::server_log(&ctx.c))
+ ffi_try_box!(Store::server_log(&ctx.c))
}
/// Returns the next key.
@@ -263,7 +263,7 @@ fn sq_store_lookup_by_keyid(ctx: *mut Context, keyid: *const KeyID)
ffi_make_fry_from_ctx!(ctx);
let keyid = keyid.ref_raw();
- ffi_try_box!(Pool::lookup_by_keyid(&ctx.c, keyid))
+ ffi_try_box!(Store::lookup_by_keyid(&ctx.c, keyid))
}
/// Looks up a key in the common key pool by (Sub)KeyID.
@@ -275,7 +275,7 @@ fn sq_store_lookup_by_subkeyid(ctx: *mut Context, keyid: *const KeyID)
ffi_make_fry_from_ctx!(ctx);
let keyid = keyid.ref_raw();
- ffi_try_box!(Pool::lookup_by_subkeyid(&ctx.c, keyid))
+ ffi_try_box!(Store::lookup_by_subkeyid(&ctx.c, keyid))
}
/// Deletes this mapping.