SE_dbtuneinfo_read_file

Reads all DBTUNE data from a specified file

Usage syntax

LONG SDEAPI SE_dbtuneinfo_read_file (const ACHAR *file_name, const ACHAR *keyword, LONG *keyword_count, SE_DBTUNEKEYWORD **keywordInfoList)

Parameters
file_name Input file name from which data is to be read
keyword Input keyword name to read data
keyword_count Total # of keyword records found
keywordInfoList The fetched DBTUNE data
Description

This function retrieves a list of DBTUNE data from a specified file through the data structure SE_DBTUNEKEYWORD. The resulting list is based on the input value of the keyword argument. If the value for keyword is NOT NULL, then all values for that keyword will be returned. If it is NULL, then the entire data in the specified file will be returned. When the keywordInfo list is no longer required, free the memory using SE_dbtunekeywordinfo_free_list ().
 

Returns

SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_DBTUNEKEYWORD_OBJECT
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_TABLE_NOEXIST