20 lines
570 B
C++
20 lines
570 B
C++
|
/***
|
||
|
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: FileAdvisory.hpp
|
||
|
Date: 2023-09-23
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::FS
|
||
|
{
|
||
|
bool ApplyFileSectionLock(AuSPtr<IIOHandle> pHandle,
|
||
|
EFileAdvisoryLockLevel level,
|
||
|
AuUInt64 uOffset,
|
||
|
AuUInt64 uLength);
|
||
|
|
||
|
bool UnapplyFileSectionLock(AuSPtr<IIOHandle> pHandle,
|
||
|
AuUInt64 uOffset,
|
||
|
AuUInt64 uLength);
|
||
|
}
|