Programming Guide |
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.
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 withsm_create_bundle
. A bundle contains sequentially numbered data items, where the first data item has an offset of 1.
See the example in
sm_append_bundle_data
.