MessageHeader.h File Reference

Declaration for bgcios::MessageHeader class. More...

#include <inttypes.h>
#include <string.h>

Go to the source code of this file.

Data Structures

struct  bgcios::MessageHeader
 Header describing a I/O service message. More...

Namespaces

namespace  bgcios

Enumerations

enum  bgcios::ReturnCode {
  bgcios::Success = 0, bgcios::WrongService, bgcios::UnsupportedType, bgcios::JobIdError,
  bgcios::ProcessIdError, bgcios::RequestFailed, bgcios::SubBlockJobError, bgcios::SendError,
  bgcios::RecvError, bgcios::VersionMismatch, bgcios::NodeNotReady, bgcios::SecondaryGroupIdError,
  bgcios::PrimaryGroupIdError, bgcios::UserIdError, bgcios::WorkingDirError, bgcios::AppOpenError,
  bgcios::AppAuthorityError, bgcios::AppReadError, bgcios::AppElfHeaderSize, bgcios::AppElfHeaderError,
  bgcios::AppNoCodeSection, bgcios::AppCodeSectionSize, bgcios::AppSegmentAlignment, bgcios::AppTooManySegments,
  bgcios::AppStaticTLBError, bgcios::AppMemoryError, bgcios::ArgumentListSize, bgcios::ToolStartError,
  bgcios::ToolAuthorityError, bgcios::ToolIdError, bgcios::ToolTimeoutExpired, bgcios::ToolPriorityConflict,
  bgcios::ToolMaxAttachedExceeded, bgcios::ToolIdConflict, bgcios::JobsDirError, bgcios::JobsObjectError,
  bgcios::ToolPriorityError, bgcios::ToolRankNotFound, bgcios::CornerCoreError, bgcios::NumCoresInProcessError,
  bgcios::ProcessActive, bgcios::NumProcessesError, bgcios::RanksInJobError, bgcios::ClassRouteDataError,
  bgcios::ToolNumberOfCmdsExceeded, bgcios::RequestIncomplete, bgcios::PrologPgmStartError, bgcios::PrologPgmError,
  bgcios::EpilogPgmStartError, bgcios::EpilogPgmError, bgcios::RequestInProgress, bgcios::ToolControlConflict,
  bgcios::NodesInJobError, bgcios::ToolConflictingCmds, bgcios::ReturnCodeListEnd
}
 

Values for return code field of MessageHeader.

More...

Functions

void bgcios::initHeader (struct MessageHeader *header)
 Initialize message header.
uint32_t bgcios::dataLength (struct MessageHeader *header)
 Get the length of the data in a message (can be zero).

Variables

const uint8_t bgcios::IosctlService = 1
 Values for service field of MessageHeader.
const uint8_t bgcios::JobctlService = 2
 Job control service.
const uint8_t bgcios::StdioService = 3
 Standard I/O service.
const uint8_t bgcios::SysioService = 4
 System I/O service.
const uint8_t bgcios::ToolctlService = 5
 Tool control service.
const uint32_t bgcios::SmallMessageRegionSize = 65536
 Default size for small message memory regions (match Linux page size).
const uint32_t bgcios::SmallMessageDataSize = 65472
 Maximum size of data in a small message.
const uint32_t bgcios::ImmediateMessageSize = 512
 Size of an immediate message (fits in one packet).

Detailed Description

Declaration for bgcios::MessageHeader class.

Definition in file MessageHeader.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1