filesystem.h
// Copyright (c) 2003 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_FILESYSTEM_H
#define RUDIMENTS_FILESYSTEM_H
#include <rudiments/private/filesystemincludes.h>
class filesystemprivate;
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:18