Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary
Table of Contents

GetHash

Get a value from a HashList hash.

SYNOPSIS

int GetHash(HashList *Hash, const char *HKey, long HKLen, void Data);**

DESCRIPTION

Retrieve the data (Data) associated with the key (HKey) from the hash (Hash).

PARAMETERS

ParameterDescription
HashPointer to a HashList hash
HKeyPointer to a C string containing the key to search for
HKLenSize of string that is the key
DataThe address of a pointer that will refer to the data associated with the key

RETURNS

1 if the key was found and Data is set to point to the data.

0 if the key was not found.

SEE ALSO

HISTORY

Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)