[REISERFSLIB]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 26 May 2016 18:08:42 +0000 (18:08 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 26 May 2016 18:08:42 +0000 (18:08 +0000)
Stub the ReiserFS lib

CORE-11005

svn path=/trunk/; revision=71412

reactos/sdk/lib/fslib/CMakeLists.txt
reactos/sdk/lib/fslib/reiserfslib/CMakeLists.txt [new file with mode: 0644]
reactos/sdk/lib/fslib/reiserfslib/reiserfslib.c [new file with mode: 0644]
reactos/sdk/lib/fslib/reiserfslib/reiserfslib.h [new file with mode: 0644]

index ca1389b..3ac3645 100644 (file)
@@ -2,5 +2,6 @@
 add_subdirectory(btrfslib)
 add_subdirectory(ext2lib)
 add_subdirectory(ntfslib)
+add_subdirectory(reiserfslib)
 add_subdirectory(vfatlib)
 add_subdirectory(vfatxlib)
diff --git a/reactos/sdk/lib/fslib/reiserfslib/CMakeLists.txt b/reactos/sdk/lib/fslib/reiserfslib/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c92c79
--- /dev/null
@@ -0,0 +1,3 @@
+
+add_library(reiserfslib reiserfslib.c)
+add_dependencies(reiserfslib psdk)
diff --git a/reactos/sdk/lib/fslib/reiserfslib/reiserfslib.c b/reactos/sdk/lib/fslib/reiserfslib/reiserfslib.c
new file mode 100644 (file)
index 0000000..a5909f1
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * COPYRIGHT:   See COPYING in the top level directory
+ * PROJECT:     ReactOS ReiserFS library
+ * FILE:        lib/fslib/reiserfslib/reiserfslib.c
+ * PURPOSE:     ReiserFS lib
+ * PROGRAMMERS: Pierre Schweitzer
+ */
+#include "reiserfslib.h"
+
+#define NDEBUG
+#include <debug.h>
+
+NTSTATUS NTAPI
+ReiserfsFormat(IN PUNICODE_STRING DriveRoot,
+               IN FMIFS_MEDIA_FLAG MediaFlag,
+               IN PUNICODE_STRING Label,
+               IN BOOLEAN QuickFormat,
+               IN ULONG ClusterSize,
+               IN PFMIFSCALLBACK Callback)
+{
+    UNIMPLEMENTED;
+    return STATUS_SUCCESS;
+}
+
+
+NTSTATUS WINAPI
+ReiserfsChkdsk(IN PUNICODE_STRING DriveRoot,
+               IN BOOLEAN FixErrors,
+               IN BOOLEAN Verbose,
+               IN BOOLEAN CheckOnlyIfDirty,
+               IN BOOLEAN ScanDrive,
+               IN PFMIFSCALLBACK Callback)
+{
+    UNIMPLEMENTED;
+    return STATUS_SUCCESS;
+}
diff --git a/reactos/sdk/lib/fslib/reiserfslib/reiserfslib.h b/reactos/sdk/lib/fslib/reiserfslib/reiserfslib.h
new file mode 100644 (file)
index 0000000..147c97e
--- /dev/null
@@ -0,0 +1,8 @@
+/*
+ * COPYRIGHT:   See COPYING in the top level directory
+ * PROJECT:     ReactOS ReiserFS library
+ * FILE:        lib/fslib/reiserfslib/reiserfslib.h
+ */
+#define NTOS_MODE_USER
+#include <ndk/umtypes.h>
+#include <fmifs/fmifs.h>