MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FsRef Struct Reference

#include <FsRef.hpp>

Public Types

enum  NdbfsErrorCodeType {
  fsErrNone = 0, fsErrEnvironmentError = NDBD_EXIT_AFS_ENVIRONMENT, fsErrTemporaryNotAccessible = NDBD_EXIT_AFS_TEMP_NO_ACCESS, fsErrNoSpaceLeftOnDevice = NDBD_EXIT_AFS_DISK_FULL,
  fsErrPermissionDenied = NDBD_EXIT_AFS_PERMISSION_DENIED, fsErrInvalidParameters = NDBD_EXIT_AFS_INVALID_PARAM, fsErrUnknown = NDBD_EXIT_AFS_UNKNOWN, fsErrNoMoreResources = NDBD_EXIT_AFS_NO_MORE_RESOURCES,
  fsErrFileDoesNotExist = NDBD_EXIT_AFS_NO_SUCH_FILE, fsErrReadUnderflow = NDBD_EXIT_AFS_READ_UNDERFLOW, fsErrFileExists = FS_ERR_BIT | 12, fsErrInvalidFileSize = FS_ERR_BIT | 13,
  fsErrOutOfMemory = FS_ERR_BIT | 14, fsErrMax
}

Public Member Functions

 STATIC_CONST (FS_ERR_BIT=0x8000)
 STATIC_CONST (SignalLength=4)

Static Public Member Functions

static NdbfsErrorCodeType getErrorCode (const UintR &errorcode)
static void setErrorCode (UintR &errorcode, NdbfsErrorCodeType errorcodetype)
static void setErrorCode (UintR &errorcode, UintR errorcodetype)

Public Attributes

UintR userPointer
UintR errorCode
UintR osErrorCode
UintR senderData

Friends

bool printFSREF (FILE *output, const Uint32 *theData, Uint32 len, Uint16 receiverBlockNo)

Detailed Description

FsRef - Common signal class for all REF signals sent from Ndbfs GSN_FSCLOSEREF, GSN_FSOPENREF, GSN_FSWRITEREF, GSN_FSREADREF, GSN_FSSYNCREF

SENDER: Ndbfs RECIVER:

Definition at line 37 of file FsRef.hpp.

Member Function Documentation

FsRef::STATIC_CONST ( FS_ERR_BIT  = 0x8000)

Enum type for errorCode

FsRef::STATIC_CONST ( SignalLength  = 4)

Length of signal

Member Data Documentation

UintR FsRef::userPointer

DATA VARIABLES

Definition at line 70 of file FsRef.hpp.


The documentation for this struct was generated from the following file: