C API
Replicated Hash Table
Version 2.0
|
rht_snap_get_it
| |
rht_it *rht_snap_get_it(const rht_snap
*snap, rht_blob k, rht_it *i);
|
|
Parameters
| |
snap |
snapshot to get an iterator from |
| |
k |
key to lookup |
| |
i |
returned iterator |
|
Return Values
| |
an iterator referencing the key value pair
if the key is found, otherwise the "end" position
is returned |
|
Description
| |
rht_snap_get_it performs
a lookup of key on a snapshot. If an equivalent key exists
in the snapshot, then the iterator pointed at by it will
be initialized to reference the corresponding key-value
pair. If no such key exists, then it will be initialized
to reference the special "end" key-value pair
of the snapshot. |
|
Requirements
| |
Header: Declared in rht.h
Library: Use rht.lib
Version: 2.0 |
|
Also See
|
|
Copyright © 2004, Spread
Concepts LLC, All rights reserved |
|