cs_locator_alloc

Description

Allocates a CS_LOCATOR datatype structure.

Syntax

CS_RETCODE cs_locator_alloc(ctx, locator)

CS_CONTEXT *ctx;
CS_LOCATOR **locator;

Parameters

ctx

A pointer to a CS_CONTEXT structure.

locator

The address of a locator variable to be allocated. Sets *locator to the address of a newly allocated CS_LOCATOR structure.

Returns

Return value

Meaning

CS_SUCCEED

The routine completed successfully.

CS_FAIL

The routine failed.

See also

cs_locator, cs_locator_drop