ids_set_option()

Modify default behavior.

Synopsis:

#include <ids.h>
 
IDS_API ids_result_t ids_set_option(ids_option_t option, const char *value)

Since:

BlackBerry 10.2.0

Arguments:

option

The option to be modified.

value

A pointer to the new string value to set.

Library:

libids (For the qcc command, use the -l ids option to link against this library)

Description:

This function allows an application to modify the default behavior of the APIs as well as configure how the library and application are integrated. See ids_option_t for information on the options that you can modify.

Errors The value of errno can be one of the following: EFAULT: The library has not been initialized.EINVAL: An invalid parameter was passed to the function.ENOMEM: There is not enough memory to store the setting.

Returns:

IDS_SUCCESS when the request is issued successfully, or IDS_FAILURE with the errno value set otherwise.