Author: pschweitzer
Date: Sat Mar 5 10:20:32 2016
New Revision: 70932
URL:
http://svn.reactos.org/svn/reactos?rev=70932&view=rev
Log:
[BTRFSLIB]
Stub the Btrfs lib
CORE-10892
Added:
trunk/reactos/lib/fslib/btrfslib/
trunk/reactos/lib/fslib/btrfslib/CMakeLists.txt (with props)
trunk/reactos/lib/fslib/btrfslib/btrfslib.c (with props)
trunk/reactos/lib/fslib/btrfslib/btrfslib.h (with props)
Modified:
trunk/reactos/lib/fslib/CMakeLists.txt
Modified: trunk/reactos/lib/fslib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/lib/fslib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/CMakeLists.txt [iso-8859-1] Sat Mar 5 10:20:32 2016
@@ -1,4 +1,5 @@
+add_subdirectory(btrfslib)
add_subdirectory(ext2lib)
add_subdirectory(ntfslib)
add_subdirectory(vfatlib)
Added: trunk/reactos/lib/fslib/btrfslib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/btrfslib/CMakeLi…
==============================================================================
--- trunk/reactos/lib/fslib/btrfslib/CMakeLists.txt (added)
+++ trunk/reactos/lib/fslib/btrfslib/CMakeLists.txt [iso-8859-1] Sat Mar 5 10:20:32 2016
@@ -0,0 +1,3 @@
+
+add_library(btrfslib btrfslib.c)
+add_dependencies(btrfslib psdk)
Propchange: trunk/reactos/lib/fslib/btrfslib/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/fslib/btrfslib/btrfslib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/btrfslib/btrfsli…
==============================================================================
--- trunk/reactos/lib/fslib/btrfslib/btrfslib.c (added)
+++ trunk/reactos/lib/fslib/btrfslib/btrfslib.c [iso-8859-1] Sat Mar 5 10:20:32 2016
@@ -0,0 +1,36 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS NTFS FS library
+ * FILE: lib/fslib/btrfslib/btrfslib.c
+ * PURPOSE: BTRFS lib
+ * PROGRAMMERS: Pierre Schweitzer
+ */
+#include "btrfslib.h"
+
+#define NDEBUG
+#include <debug.h>
+
+NTSTATUS NTAPI
+BtrfsFormat(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
+BtrfsChkdsk(IN PUNICODE_STRING DriveRoot,
+ IN BOOLEAN FixErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PFMIFSCALLBACK Callback)
+{
+ UNIMPLEMENTED;
+ return STATUS_SUCCESS;
+}
Propchange: trunk/reactos/lib/fslib/btrfslib/btrfslib.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/fslib/btrfslib/btrfslib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/btrfslib/btrfsli…
==============================================================================
--- trunk/reactos/lib/fslib/btrfslib/btrfslib.h (added)
+++ trunk/reactos/lib/fslib/btrfslib/btrfslib.h [iso-8859-1] Sat Mar 5 10:20:32 2016
@@ -0,0 +1,8 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS BTRFS FS library
+ * FILE: lib/fslib/btrfslib/btrfslib.h
+ */
+#define NTOS_MODE_USER
+#include <ndk/umtypes.h>
+#include <fmifs/fmifs.h>
Propchange: trunk/reactos/lib/fslib/btrfslib/btrfslib.h
------------------------------------------------------------------------------
svn:eol-style = native