fs.obj: add callback function for (copy,remove,move)

git-svn-id: svn://kolibrios.org@5895 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pavelyakov 2015-11-07 22:35:31 +00:00
parent 4ebdc4d8de
commit 8df5910157
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -29,6 +29,8 @@
dword get_size_pointer; dword get_size_pointer;
qword get_size(dword path); qword get_size(dword path);
dword callback_copy;
} fs; } fs;
:byte FILE_SYSTEM_FUNCTION::remove(dword path) :byte FILE_SYSTEM_FUNCTION::remove(dword path)
@ -93,6 +95,7 @@
fs.copy_pointer = library.get("fs.copy"); fs.copy_pointer = library.get("fs.copy");
fs.read_pointer = library.get("fs.read"); fs.read_pointer = library.get("fs.read");
fs.run_pointer = library.get("fs.execute"); fs.run_pointer = library.get("fs.execute");
fs.callback_copy = library.get("fs.callback_copy");
__CHECK_FS__ = true; __CHECK_FS__ = true;
} }