1use crate::context::GriteContext;
2use crate::types::*;
3use libgrite_core::GriteError;
4
5pub fn lock_acquire(
7 ctx: &GriteContext,
8 opts: &LockAcquireOptions,
9) -> Result<LockAcquireResult, GriteError> {
10 let _ = ctx;
11 let _ = opts;
12 todo!("lock_acquire not yet implemented in library")
13}
14
15pub fn lock_release(ctx: &GriteContext, opts: &LockReleaseOptions) -> Result<(), GriteError> {
17 let _ = ctx;
18 let _ = opts;
19 todo!("lock_release not yet implemented in library")
20}
21
22pub fn lock_renew(
24 ctx: &GriteContext,
25 opts: &LockRenewOptions,
26) -> Result<LockRenewResult, GriteError> {
27 let _ = ctx;
28 let _ = opts;
29 todo!("lock_renew not yet implemented in library")
30}
31
32pub fn lock_status(ctx: &GriteContext) -> Result<LockStatusResult, GriteError> {
34 let _ = ctx;
35 todo!("lock_status not yet implemented in library")
36}
37
38pub fn lock_gc(ctx: &GriteContext) -> Result<(), GriteError> {
40 let _ = ctx;
41 todo!("lock_gc not yet implemented in library")
42}