permissions.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_PERMISSIONS_H
#define RUDIMENTS_PERMISSIONS_H
#include <rudiments/private/permissionsincludes.h>
class RUDIMENTS_DLLSPEC permissions {
public:
static bool setFilePermissions(const char *filename,
mode_t perms);
static bool setFilePermissions(int32_t fd, mode_t perms);
static mode_t evalPermString(const char *permstring);
static char *evalPermOctal(mode_t mode);
static mode_t everyoneReadWrite();
static mode_t everyoneReadWriteExecute();
static mode_t ownerRead();
static mode_t ownerWrite();
static mode_t ownerExecute();
static mode_t ownerReadWrite();
static mode_t ownerReadExecute();
static mode_t ownerReadWriteExecute();
static mode_t groupRead();
static mode_t groupWrite();
static mode_t groupExecute();
static mode_t groupReadWrite();
static mode_t groupReadExecute();
static mode_t groupReadWriteExecute();
static mode_t othersRead();
static mode_t othersWrite();
static mode_t othersExecute();
static mode_t othersReadWrite();
static mode_t othersReadExecute();
static mode_t othersReadWriteExecute();
static mode_t saveInSwapSpace();
static mode_t setUserId();
static mode_t setGroupId();
#include <rudiments/private/permissions.h>
};
#endif
permissions
Definition: permissions.h:28
permissions::ownerReadWrite
static mode_t ownerReadWrite()
permissions::groupReadExecute
static mode_t groupReadExecute()
permissions::othersWrite
static mode_t othersWrite()
permissions::ownerReadExecute
static mode_t ownerReadExecute()
permissions::groupWrite
static mode_t groupWrite()
permissions::groupRead
static mode_t groupRead()
permissions::othersReadWrite
static mode_t othersReadWrite()
permissions::othersExecute
static mode_t othersExecute()
permissions::setFilePermissions
static bool setFilePermissions(int32_t fd, mode_t perms)
permissions::othersReadWriteExecute
static mode_t othersReadWriteExecute()
permissions::groupReadWriteExecute
static mode_t groupReadWriteExecute()
permissions::groupReadWrite
static mode_t groupReadWrite()
permissions::ownerRead
static mode_t ownerRead()
permissions::ownerReadWriteExecute
static mode_t ownerReadWriteExecute()
permissions::othersReadExecute
static mode_t othersReadExecute()
permissions::ownerExecute
static mode_t ownerExecute()
permissions::ownerWrite
static mode_t ownerWrite()
permissions::othersRead
static mode_t othersRead()
permissions::everyoneReadWrite
static mode_t everyoneReadWrite()
permissions::setGroupId
static mode_t setGroupId()
permissions::setFilePermissions
static bool setFilePermissions(const char *filename, mode_t perms)
permissions::evalPermString
static mode_t evalPermString(const char *permstring)
permissions::everyoneReadWriteExecute
static mode_t everyoneReadWriteExecute()
permissions::setUserId
static mode_t setUserId()
permissions::evalPermOctal
static char * evalPermOctal(mode_t mode)
permissions::groupExecute
static mode_t groupExecute()
permissions::saveInSwapSpace
static mode_t saveInSwapSpace()