Reference Guide C API www.spreadconcepts.com


Programmer's Reference Guide
Replicated Hash Table
Version 2.0


Replica Handles

Many RHT calls take a replica handle as a parameter. Replica handles are declared as:

typedef su_int64 rht;
where su_uint64 is the unsigned 64-bit integer type on the local machine. Many RHT calls take byte buffers as parameters. Byte buffers in RHT are represented as:

typedef struct {
  su_int32    blob_size;
  const void *blob_ptr;

} rht_blob;
where su_int32 is the signed 32-bit integer type on the local machine. Process and RHT names in RHT are represented in nul terminated C string format as:

typedef struct {
  char m_Str[RHT_NAME_MAX_SIZE + 1];

} rht_name;

where RHT_NAME_MAX_SIZE is the maximum length name in rht.



Copyright © 2004, Spread Concepts LLC, All rights reserved