Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Documentation

BSMaidSafe edited this page Sep 3, 2013 · 12 revisions

Overview

The MaidSafe-Drive library presents a user-mode interface to the kernel-mode modules Eldos' Callback File System, Fuse and OSXFuse available for Windows, Linux and Mac platforms respectively. In each case a virtual drive can be mounted and presented as a native drive on the system. Filesystem operations performed on the drive are filtered to relevent callback functions the user-mode code has registered to handle. Directories/files are encrypted using the facilities present in Encrypt, while they are stored/retrieved directly to/form the network via Network-Filesystem, Routing and RUDP. The space available/used on the drive is derived from the values a client reports it's Vault's to have offered to/used on the network.

Details

The MaidSafe-Drive API includes the following files.

  • drive_api.h defines the base class with shared interface to the platform specific derived classes defined in the header files outlined below.
  • win_drive.h includes user-mode code specific to Windows and Callback File System.
  • unix_drive.h includes user-mode code specific to Linux and Fuse.
  • config.h provides convenient typdef's and constants.
  • return_codes.h is due for removal when exception handling is fully implemented.

Further details describing the class interfaces, etc., can be found within the files and also in the supporting material available to the library.