aboutsummaryrefslogtreecommitdiff
path: root/int21dos.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-12 23:06:38 +0200
committerJavier <dev.git@javispedro.com>2022-04-12 23:06:38 +0200
commitd167af14ac9db82418e239060d3ff5e8d8dbf75a (patch)
treeda1ab4eba6801e3503f31a54f0021749993eb468 /int21dos.h
parenta109a1193ca3cf64a29265103075922d2dd9fc1b (diff)
downloadvbados-d167af14ac9db82418e239060d3ff5e8d8dbf75a.tar.gz
vbados-d167af14ac9db82418e239060d3ff5e8d8dbf75a.zip
getattr and lock
Diffstat (limited to 'int21dos.h')
-rw-r--r--int21dos.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/int21dos.h b/int21dos.h
index f414216..a827b8f 100644
--- a/int21dos.h
+++ b/int21dos.h
@@ -195,6 +195,11 @@ typedef _Packed struct dos_search_data_block {
} DOSSDB;
STATIC_ASSERT(sizeof(DOSSDB) == 21);
+typedef _Packed struct dos_lock_params {
+ uint32_t start_offset;
+ uint32_t region_size;
+} DOSLOCK;
+
typedef _Packed struct dos_direntry {
char filename[11];
uint8_t attr;