7 Teleservice Application Framework
User Manual 168/374
charn acn_myStatus[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myAddInfo[512]; // Additional value (for HELLO) signal (opt.)
sint32 s32_myTriginterval; // Time interval when the ysysd
// expects to be triggered
charn acn_myCMDOnWatchdog[2048]; // Bash cmd that must be executed
// by the ysysd in case no
// trigger signal occurred in time.
} T_DBUS_Util;
Output Information
Function executed without error, data pool was initialized successful
Error sending the method call or NULL pointer
Error receiving the method call answer
Error occurred because the data pool sub directory did not exist or the dpi-file
already existed
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ydatad_init_datapool (&mt_DBUS_Util, "MyDatapool");
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.5.2.7 ydatad_delete_datapool
Function Description
sint32 ydatad_delete_datapool (const T_DBUS_Util *const opt_DBusInstance, charn * const
opcn_Datapool)
This function delete the data pool ocn_Datapool. The data pool is deleted and all resources are released,
regardless whether the data pool was initialized before or not
Deleting a data pool will have impact on all programs using this data pool. Handle this function with
care!