From 9883e3b4eec8e457b49cb70ca006f5f7601332da Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 29 Nov 2009 13:31:03 +0100 Subject: Introduce inode_no property --- vfs/UVFSCore.pas | 1 + vfs/uVFSprototypes.pas | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'vfs') diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index 90b31b5..2bccea7 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -433,6 +433,7 @@ begin Item^.GID := P^.iGID; Item^.Size := P^.iSize; Item^.PackedSize := P^.iPackedSize; + Item^.inode_no := P^.inode_no; Result := Item; end; diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas index 75c7349..bef0246 100644 --- a/vfs/uVFSprototypes.pas +++ b/vfs/uVFSprototypes.pas @@ -90,9 +90,10 @@ type PVFSItem = ^TVFSItem; TVFSItem = record FName: PChar; - FDisplayName: PChar; // FDisplayName - plugins must return valid UTF-8 string + FDisplayName: PChar; // plugins must return valid UTF-8 string iSize: guint64; - iPackedSize: gint64; // iPackedSize - set to -1 if plugin doesn't support this feature + iPackedSize: gint64; // set to -1 if plugin doesn't support this feature + inode_no: guint64; // return 0 if not supported m_time: guint32; a_time: guint32; c_time: guint32; -- cgit v1.2.3