Programming Guide



sm_append_bundle_item

Adds a data item to a bundle

int sm_append_bundle_item(char *bundle_name);

bundle_name
The name of the bundle to get a new item. Supply NULL or empty string to specify the unnamed bundle.

Returns

Description

sm_append_bundle_item appends a new data item to the end of the specified bundle. After you create a data item, you can send one or more occurrences of data to it by calling sm_append_bundle_data.

This function assumes the existence of bundle_name, previously created with sm_create_bundle. A bundle contains sequentially numbered data items, where the first data item has an offset of 1.

Example

See the example in sm_append_bundle_data.

See Also

sm_append_bundle_data