[Top] [Prev] [Next] [Bottom] [Contents]

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



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.