7 Teleservice Application Framework
User Manual 164/374
Error occurred because the data pool or variable list was already initialized,
variable list does not exist, determinate shared memory size failed or allocating of
a shared memory segment failed
Parameters are out of range
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ydatad_init_variable_list (&mt_DBUS_Util, "MyDatapool", "GPSDates");
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.5.2.4 ydatad_delete_variable_list
Function Description
sint32 ydatad_delete_variable_list (const T_DBUS_Util *const opt_DBusInstance, const charn *
const opcn_Datapool , const charn *const opcn_List)
The function deletes the shared memory segment for the named variable list ocn_List and the according
variable list file in the data pool ocn_Datapool.
Information Flow
Input Information
holds all D-BUS information
maximum
MAX_DP_NAME_LENGTH
pointer to the name of the data pool
maximum
MAX_DP_NAME_LENGTH
pointer to the name of the variable list
The variable list can only be deleted if it was initialized before.