|
Add a new function to FLUC byte interface (fcbinfo) and a new function as corresponding stup to the FLUC record interface (FCRINF).
/**
* Provide certain information
*
* This function can be used to determine different information about
* files or supported CCSID's and other stuff. For this you must provide
* a info string to define which information are requested. You can define
* the format how the information will be formated. The information
* will be written to an output buffer. If the buffer too small a FMLRTC_LEN
* error will be returned, the length will be set to the required length and
* the buffer is filled up to the maximum with the data.
*
* The info definition string uses the same syntax as the get method of
* the FLCL INFO command. The complete syntax and help can be determined
* with the corresponding functions below. The zero-terminated string must
* start with 'GET.' followed by the corresponding method (FILE/CCSIDS/...).
*
* Examples: "GET.FILE='TEST.TXT'"
* "GET.CCSIDS"
*
* Please use:
* 'FCRHLP/FCRSYN(FCR_INFO,10,NULL)'
* 'FCRHLP/FCRSYN(FCR_INFO,10,NULL)'
* for more information.
*
* @param [OUT] rtc INTEGER Return code\n
* @param [IN] infolen INTEGER Length of info string
* @param [IN] infostr STRING Info string with GET instructions
* @param [IN] format INTEGER Format specification for the output buffer
* @param [IN][OUT] buflen INTEGER Size/length of the output buffer
* @param [OUT] buffer STRING Output buffer (data format depends on format parameter)
*/
extern void STDCALL FCRINF(int* rtc,const int* infolen, const char* infostr,
const int* format, int* buflen, char* buffer); |
|