[UREISERFS]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 26 May 2016 18:10:20 +0000 (18:10 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 26 May 2016 18:10:20 +0000 (18:10 +0000)
Add the ReiserFS DLL

CORE-11005

svn path=/trunk/; revision=71413

reactos/dll/win32/CMakeLists.txt
reactos/dll/win32/ureiserfs/CMakeLists.txt [new file with mode: 0644]
reactos/dll/win32/ureiserfs/ureiserfs.c [new file with mode: 0644]
reactos/dll/win32/ureiserfs/ureiserfs.rc [new file with mode: 0644]
reactos/dll/win32/ureiserfs/ureiserfs.spec [new file with mode: 0644]

index d1e07ce..f9350e2 100644 (file)
@@ -214,6 +214,7 @@ add_subdirectory(ufat)
 add_subdirectory(ufatx)
 add_subdirectory(untfs)
 add_subdirectory(updspapi)
+add_subdirectory(ureiserfs)
 add_subdirectory(url)
 add_subdirectory(urlmon)
 add_subdirectory(userenv)
diff --git a/reactos/dll/win32/ureiserfs/CMakeLists.txt b/reactos/dll/win32/ureiserfs/CMakeLists.txt
new file mode 100644 (file)
index 0000000..836fab8
--- /dev/null
@@ -0,0 +1,13 @@
+
+spec2def(ureiserfs.dll ureiserfs.spec)
+
+list(APPEND SOURCE
+    ureiserfs.c
+    ureiserfs.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/ureiserfs.def)
+
+add_library(ureiserfs SHARED ${SOURCE})
+set_module_type(ureiserfs nativedll)
+target_link_libraries(ureiserfs reiserfslib)
+add_importlibs(ureiserfs ntdll)
+add_cd_file(TARGET ureiserfs DESTINATION reactos/system32 FOR all)
diff --git a/reactos/dll/win32/ureiserfs/ureiserfs.c b/reactos/dll/win32/ureiserfs/ureiserfs.c
new file mode 100644 (file)
index 0000000..9cf857a
--- /dev/null
@@ -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;
+}
diff --git a/reactos/dll/win32/ureiserfs/ureiserfs.rc b/reactos/dll/win32/ureiserfs/ureiserfs.rc
new file mode 100644 (file)
index 0000000..b404581
--- /dev/null
@@ -0,0 +1,5 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION  "ReiserFS File System Management"
+#define REACTOS_STR_INTERNAL_NAME     "ureiserfs"
+#define REACTOS_STR_ORIGINAL_FILENAME "ureiserfs.dll"
+#include <reactos/version.rc>
diff --git a/reactos/dll/win32/ureiserfs/ureiserfs.spec b/reactos/dll/win32/ureiserfs/ureiserfs.spec
new file mode 100644 (file)
index 0000000..5a86418
--- /dev/null
@@ -0,0 +1,2 @@
+@ stdcall ChkdskEx(ptr long long long long ptr) ReiserfsChkdsk
+@ stdcall FormatEx(ptr long ptr long long ptr) ReiserfsFormat