Programming Guide |
Gets the name of the bundle created before the one specified
char *sm_get_next_bundle_name(char *bundle_name);
bundle_name
- A pointer to the name of the bundle that precedes the bundle to get. Supply
NULL
or empty string to get the most recently created bundle.
- · The name of the next bundle.
- · An empty string if
bundle_name
does not exist or there are no more bundles.
sm_get_next_bundle_name
returns the name of the bundle whose creation preceded the one specified. Call this function iteratively inside a loop to traverse the list of all existing bundles, from youngest to oldest.