Reference Guide C API www.spreadconcepts.com


C API
Replicated Hash Table
Version 2.0


rht_snap_begin
  rht_it *rht_snap_begin(const rht_snap *snap, rht_it *i);


Parameters
  snap snapshot to get the iterator from
  i returned iterator to the beginning of the snapshot


Return Values
  an iterator referencing the start position of a snapshot


Description
  rht_snap_begin initializes the iterator pointed to reference the first key-value pair in the snapshot, or if the snapshot is empty the iterator is set to the "end" key-value pair of the snapshot.


Requirements
  Header: Declared in rht.h
Library: Use rht.lib
Version: 2.0


Also See
  RHT reference guide, snapshot operations


Copyright © 2004, Spread Concepts LLC, All rights reserved