[Prev] [Next] [Top] [Bottom] [Contents] (76 out of 193)

SaMakeStringFromIndexRowCol

Makes a string from the indexed row of an SaCallbackStruct callback structure.

Synopsis

#include "SaPopCalls.h"

char* SaMakeStringFromIndexRowCol(SaCallbackStruct *cbs, XtPointer client_data);

Arguments

cbs
SaCallbackStruct callback structure.
client_data
Specifies which column to use.

Return Values

A string containing the data.

Description

SaMakeStringFromIndexRowCol returns a malloc'd string given an SaCallbackStruct callback structure. If cbs is NULL, an empty string is returned. If cbs is derived from a valid cache, the index value in the cache is used to determine which row is returned--otherwise, the first row is returned. Use free to deallocate this memory when it is no longer needed. The client_data specifies which column to use to make the string. An invalid column specification results in an empty string.

See Also


[Prev] [Next] [Top] [Bottom] [Contents] (76 out of 193)