BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

khash_clientdata - return the client data associated with the hash entry

LIBRARY CALL

int khash_clientdata(
  khash *hash,
  <type>  entry,
  kaddr *client_data)

INPUT

OUTPUT

none

RETURN VALUE

The token's corresponding string or NULL, if the token is not valid.

DESCRIPTION

This function returns the client data that is associated with the hash entry. The idea is that a unique hash entry is given for each entry sent to the function khash_add(). This routine is used to retrieve a pointer to the hash's associated client data.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/hash.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.