Programming Guide



sm_get_bundle_item_count

Counts the number of data items in a bundle

int sm_get_bundle_item_count(char *bundle_name);

bundle_name
The name of the bundle. Supply NULL or empty string to specify the unnamed bundle.

Returns

Description

sm_get_bundle_item_count counts the number of data items in the specified bundle. You can call this function before reading send data into a screen to ensure that a data item exists for each receiving field, or to set a counter for successive calls to sm_get_bundle_data or sm_append_bundle_data within a loop.

See Also

sm_append_bundle_item