use crate::context::GriteContext;
use crate::types::*;
use libgrite_core::GriteError;
pub fn lock_acquire(
ctx: &GriteContext,
opts: &LockAcquireOptions,
) -> Result<LockAcquireResult, GriteError> {
let _ = ctx;
let _ = opts;
todo!("lock_acquire not yet implemented in library")
}
pub fn lock_release(ctx: &GriteContext, opts: &LockReleaseOptions) -> Result<(), GriteError> {
let _ = ctx;
let _ = opts;
todo!("lock_release not yet implemented in library")
}
pub fn lock_renew(
ctx: &GriteContext,
opts: &LockRenewOptions,
) -> Result<LockRenewResult, GriteError> {
let _ = ctx;
let _ = opts;
todo!("lock_renew not yet implemented in library")
}
pub fn lock_status(ctx: &GriteContext) -> Result<LockStatusResult, GriteError> {
let _ = ctx;
todo!("lock_status not yet implemented in library")
}
pub fn lock_gc(ctx: &GriteContext) -> Result<(), GriteError> {
let _ = ctx;
todo!("lock_gc not yet implemented in library")
}