PreviousNext

uuid_hash(3rpc)

Creates a hash value for a UUID

Used by client, server, or management applications.

Synopsis

#include <dce/uuid.h>

unsigned16 uuid_hash(

uuid_t *uuid,

unsigned32 *status);

Parameters

Input

uuid
Specifies the UUID for which a hash value is created. Supply NULL to specify a nil UUID for this parameter.

Output

status
Returns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not.

Description
The uuid_hash( ) routine generates a hash value for a specified UUID.

Note that the return value for a single uuid value may differ across platforms.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

uuid_s_ok
Success.

uuid_s_bad_version
Bad UUID version.

Return Values
Returns a hash value for the specified UUID.