Reference Guide C API www.spreadconcepts.com


C API
Replicated Hash Table
Version 2.0


rht_pair_fini
  void rht_pair_fini(rht_pair *p);


Parameters
  p key-value pair to release control over


Return Values
  0 on success
  non-zero for error


Description
 

rht_pair_fini must be called once and only once on a rht_pair pointer returned from a successful call to rht_get to allow the memory associated with that entry to be eventually garbage collected.

After calling rht_pair_fini on such a reference, it is invalid to subsequently use that reference.



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