Reference Guide C API www.spreadconcepts.com


Programmer's Reference Guide
Replicated Hash Table
Version 2.0


Included in the Distribution

RHT comes in two distributions; source and binary. The following distribution layout covers the binary distribution.

docs:
Documentation for RHT, both reference guide and API documentation

etc:
Contains a sample configuration for setting up a Spread daemon. See (www.spread.org) for more information on Spread.

include:
All include files needed to link RHT with your application. See Compilation Instructions for more details.

licenses:
Contains the license files for RHT and for two packages RHT uses; Spread and Standard Utility Library.

linux:
Contains the binary executable and library files for the Linux platform. Both kernel versions 2.6 and 2.4 are included

mac:
Contains the binary executable and library files for the Mac OS X platform.

win:
Contains the binary executable and library files for the Microsoft Windows platform.

sample:
Contains a sample source program (rht_user) that uses the RHT library. The executable is also included in the bin directory of your platform. A Makefile for Linux and Mac is included as well as MS VS.NET 2002 project files for the compiling on the windows platform.

Included Executables
RHT ships with a number of compiled executables. Look in the platform/bin directory from the root of the distribution. These executables include:

  • rht_user: command line program that allows users to create replicas & add/remove entries. Tests most RHT functionality
  • spread/spread: RHT requires a Spread daemon to connect to. The Spread daemon has been included.
  • spread/spflooder: A utility to flood the Spread network for testing purposes.
  • spread/spmonitor: A utility to monitor the health of a Spread daemon.
  • spuser & sptuser: A command line sample application to be used to test the Spread network.


Copyright © 2004, Spread Concepts LLC, All rights reserved