Home Download FAQ / Knowledge Base Screenshots Documentation Support

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

Parameter	Description
--------	-----------
Hash		Pointer to a HashList hash
HKey		Pointer to a C string containing the key to search for
HKLen		Size of string that is the key
Data|The 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

There are no social media links here. Enjoy a friendly Citadel community instead. Or go outside.
Copyright © 1987-2020 Uncensored Communications Group. All rights reserved.