xrootd
Loading...
Searching...
No Matches
Public Attributes | List of all members
XrdSsiShMat::NewParms Struct Reference

#include <XrdSsiShMat.hh>

Public Attributes

const char * impl
 Implementation name.
 
const char * path
 The path to the backing file for the table.
 
const char * typeID
 The name of the type associated with the key.
 
int typeSz
 Size of the type in bytes.
 
int hashID
 The hash being used (0 means the default)
 

Detailed Description

Instantiate a shared memory object.

Parameters
parmsThe parameters to use when creating the table. Fields are: impl Pointer to the name of the implementation that is desired. The default implementation (XrdSsiShMam) is used if nil. All processes must specify the same implementation that was used to create the table via the Create() method. If specified it must not exceed 63 characters. path Pointer to the file that is backing the table. The path is used to locate the table in memory. typeID A text name of the data type in the table. All processes must specify the same typeID that the table was created with using Create(). Specify text less than 64 characters. typesz The number of bytes occupied by the data type in the table. hashID A 4-characters text name of the hash used in the table represented as an int. All processes must specify the same hashID that the table was created with using Create().
Returns
!0 - Pointer to an instance of an XrdSsiShMat object.
false - The object could not instantiate because of an error; errno holds the error code explaining why.

Member Data Documentation

◆ hashID

int XrdSsiShMat::NewParms::hashID

The hash being used (0 means the default)

◆ impl

const char* XrdSsiShMat::NewParms::impl

Implementation name.

◆ path

const char* XrdSsiShMat::NewParms::path

The path to the backing file for the table.

◆ typeID

const char* XrdSsiShMat::NewParms::typeID

The name of the type associated with the key.

◆ typeSz

int XrdSsiShMat::NewParms::typeSz

Size of the type in bytes.


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