Reference Guide C API www.spreadconcepts.com


C API
Replicated Hash Table
Version 2.0


rht_pair_update_type
  rht_update_type rht_pair_update_type(const rht_pair *p);


Parameters
  p key value pair to query for the update time


Return Values
  0 on success
  non-zero for error


Description
 

rht_pair_update_type returns the update type of an key-value pair entry.

Currently, this can only be RHT_UPDATE_PUT or RHT_UPDATE_DEL, which correspond, respectively, to an entry placed in the table by rht_put or rht_del.

Note, the RHT_UPDATE_DEL type can only occur for special delete entries left in the dictionary when RHT_INTERSECT semantics are being used.



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


Also See
  RHT reference guide, key value pair operations


Copyright © 2004, Spread Concepts LLC, All rights reserved