filesystem.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_FILESYSTEM_H
#define RUDIMENTS_FILESYSTEM_H
#include <rudiments/private/filesystemincludes.h>
class RUDIMENTS_DLLSPEC filesystem {
public:
filesystem();
filesystem(const filesystem &f);
filesystem &operator=(const filesystem &f);
virtual ~filesystem();
bool open(const char *path);
bool open(int32_t fd);
bool close();
bool getCurrentProperties();
int64_t getType() const;
int64_t getBlockSize() const;
int64_t getOptimumTransferBlockSize() const;
int64_t getTotalBlocks() const;
int64_t getFreeBlocks() const;
int64_t getAvailableBlocks() const;
int64_t getReservedBlocks() const;
int64_t getTotalFileNodes() const;
int64_t getFreeFileNodes() const;
int64_t getAvailableFileNodes() const;
int64_t getReservedFileNodes() const;
int64_t getFileSystemId() const;
int64_t getMaximumFileNameLength() const;
uid_t getOwner() const;
int64_t getSyncWrites() const;
int64_t getAsyncWrites() const;
const char *getTypeName() const;
const char *getMountPoint() const;
int64_t getSyncReads() const;
int64_t getAsyncReads() const;
const char *getDeviceName() const;
const char *getFilesystemSpecificString() const;
void *getInternalFilesystemStatisticsStructure();
#include <rudiments/private/filesystem.h>
};
#endif
filesystem
Definition: filesystem.h:16
filesystem::getMaximumFileNameLength
int64_t getMaximumFileNameLength() const
filesystem::getAvailableFileNodes
int64_t getAvailableFileNodes() const
filesystem::getFreeFileNodes
int64_t getFreeFileNodes() const
filesystem::getAvailableBlocks
int64_t getAvailableBlocks() const
filesystem::getInternalFilesystemStatisticsStructure
void * getInternalFilesystemStatisticsStructure()
filesystem::getType
int64_t getType() const
filesystem::getFreeBlocks
int64_t getFreeBlocks() const
filesystem::getAsyncWrites
int64_t getAsyncWrites() const
filesystem::getReservedBlocks
int64_t getReservedBlocks() const
filesystem::getTypeName
const char * getTypeName() const
filesystem::open
bool open(int32_t fd)
filesystem::close
bool close()
filesystem::getOwner
uid_t getOwner() const
filesystem::getDeviceName
const char * getDeviceName() const
filesystem::~filesystem
virtual ~filesystem()
filesystem::getTotalBlocks
int64_t getTotalBlocks() const
filesystem::filesystem
filesystem()
filesystem::getAsyncReads
int64_t getAsyncReads() const
filesystem::getSyncWrites
int64_t getSyncWrites() const
filesystem::getTotalFileNodes
int64_t getTotalFileNodes() const
filesystem::getOptimumTransferBlockSize
int64_t getOptimumTransferBlockSize() const
filesystem::filesystem
filesystem(const filesystem &f)
filesystem::getMountPoint
const char * getMountPoint() const
filesystem::getReservedFileNodes
int64_t getReservedFileNodes() const
filesystem::getBlockSize
int64_t getBlockSize() const
filesystem::getSyncReads
int64_t getSyncReads() const
filesystem::getFilesystemSpecificString
const char * getFilesystemSpecificString() const
filesystem::open
bool open(const char *path)
filesystem::getFileSystemId
int64_t getFileSystemId() const
filesystem::getCurrentProperties
bool getCurrentProperties()
filesystem::operator=
filesystem & operator=(const filesystem &f)