cs_locator_alloc()

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.