Author: pschweitzer
Date: Sat Mar 5 10:22:15 2016
New Revision: 70934
URL:
http://svn.reactos.org/svn/reactos?rev=70934&view=rev
Log:
[UBTRFS]
Implement the utility DLL for the Btrfs file system
Added:
trunk/reactos/dll/win32/ubtrfs/
trunk/reactos/dll/win32/ubtrfs/CMakeLists.txt (with props)
trunk/reactos/dll/win32/ubtrfs/ubtrfs.c (with props)
trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc (with props)
trunk/reactos/dll/win32/ubtrfs/ubtrfs.spec (with props)
Modified:
trunk/reactos/dll/win32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] Sat Mar 5 10:22:15 2016
@@ -207,6 +207,7 @@
add_subdirectory(themeui)
add_subdirectory(traffic)
add_subdirectory(twain_32)
+add_subdirectory(ubtrfs)
add_subdirectory(uext2)
add_subdirectory(ufat)
add_subdirectory(ufatx)
Added: trunk/reactos/dll/win32/ubtrfs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ubtrfs/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/ubtrfs/CMakeLists.txt (added)
+++ trunk/reactos/dll/win32/ubtrfs/CMakeLists.txt [iso-8859-1] Sat Mar 5 10:22:15 2016
@@ -0,0 +1,13 @@
+
+spec2def(ubtrfs.dll ubtrfs.spec)
+
+list(APPEND SOURCE
+ ubtrfs.c
+ ubtrfs.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/ubtrfs.def)
+
+add_library(ubtrfs SHARED ${SOURCE})
+set_module_type(ubtrfs nativedll)
+target_link_libraries(ubtrfs btrfslib)
+add_importlibs(ubtrfs ntdll)
+add_cd_file(TARGET ubtrfs DESTINATION reactos/system32 FOR all)
Propchange: trunk/reactos/dll/win32/ubtrfs/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/ubtrfs/ubtrfs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ubtrfs/ubtrfs.c?…
==============================================================================
--- trunk/reactos/dll/win32/ubtrfs/ubtrfs.c (added)
+++ trunk/reactos/dll/win32/ubtrfs/ubtrfs.c [iso-8859-1] Sat Mar 5 10:22:15 2016
@@ -0,0 +1,23 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: BTRFS File System Management
+ * FILE: dll/win32/ubtrfs/ubtrfs.c
+ * PURPOSE: ubtrfs DLL initialisation
+ *
+ * PROGRAMMERS: Pierre Schweitzer
+ */
+
+#include <windef.h>
+
+INT WINAPI
+DllMain(
+ IN HINSTANCE hinstDLL,
+ IN DWORD dwReason,
+ IN LPVOID lpvReserved)
+{
+ UNREFERENCED_PARAMETER(hinstDLL);
+ UNREFERENCED_PARAMETER(dwReason);
+ UNREFERENCED_PARAMETER(lpvReserved);
+
+ return TRUE;
+}
Propchange: trunk/reactos/dll/win32/ubtrfs/ubtrfs.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc…
==============================================================================
--- trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc (added)
+++ trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc [iso-8859-1] Sat Mar 5 10:22:15 2016
@@ -0,0 +1,5 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "BTRFS File System Management"
+#define REACTOS_STR_INTERNAL_NAME "ubtrfs"
+#define REACTOS_STR_ORIGINAL_FILENAME "ubtrfs.dll"
+#include <reactos/version.rc>
Propchange: trunk/reactos/dll/win32/ubtrfs/ubtrfs.rc
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/ubtrfs/ubtrfs.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ubtrfs/ubtrfs.sp…
==============================================================================
--- trunk/reactos/dll/win32/ubtrfs/ubtrfs.spec (added)
+++ trunk/reactos/dll/win32/ubtrfs/ubtrfs.spec [iso-8859-1] Sat Mar 5 10:22:15 2016
@@ -0,0 +1,2 @@
+@ stdcall ChkdskEx(ptr long long long long ptr) BtrfsChkdsk
+@ stdcall FormatEx(ptr long ptr long long ptr) BtrfsFormat
Propchange: trunk/reactos/dll/win32/ubtrfs/ubtrfs.spec
------------------------------------------------------------------------------
svn:eol-style = native