EasyManua.ls Logo

STW TC1 - Page 175

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Teleservice Application Framework
User Manual 175/374
7.3.5.4 Access Data Pool
Header file: "DP_handler.h"
This header file provides utility functions to use the data pool daemon.
7.3.5.4.1 ydatad_load_datapool
Function Description
sint32 ydatad_load_datapool (const sint32 os32_DatapoolIndex, const charn * const opcn_Path)
This function parses the sub folder of the indexed database ou32_DatapoolIndex and creates a data structure
for each valid data list. Afterwards, it's possible to use the indexed data pool.
Information Flow
Input Information
Parameter
Range
Description
os32_DatapoolIndex
0 .. maximum of sint32
includes the index of the data pool
opcn_Path
maximum
MAX_DP_BASEFOLDER_LENGHT
pointer to the base folder of the data pool
Output Information
Return Value
Description
C_NO_ERR
Function executed without error, data pool was loaded successful
C_UNKNOWN_ERR
NULL pointer
C_RANGE
Index or path of data pool does not exist, isn't valid, the variable list file couldn't be
opened or parameter opcn_Path is out of range

Table of Contents