Loading...
Select Version
&pagelevel(3)&pagelevel
This C++ header file describes the contents of the buffer returned by SHOW-FILE-ATTRI-BUTES operation (ListFiles () function). The buffer returned by the function must be released by the caller.
#ifndef __SzpZout_h__ #define __SzpZout_h__ /******************************************************************* * Classes -- * File szpzout.h * * Copyright (c) 'FUJITSU TECHNOLOGY SOLUTIONS' '2009' * * Description Output Find structure layouts * * Version 120 * Date 2008-03-02 * Author Ph. Dumont - OSL EPS * Update BS2ZIP v1.2A * * Version 110 * Date 2004-09-30 * Author L. Tambour - OSL EPS * Update BS2ZIP v1.1A * * Version 100 * Date 2003-06-02 * Author J. Beaume - OSL EPS * Update BS2ZIP v1.0B *******************************************************************/ struct szpOutSummary { unsigned int uRecSize; // total size of a returned item void *pHeader; // pointer to CFileHdr object unsigned short uFileNameSize; // file name size unsigned short BS2Flag; // 1 = BS2000 file, 0 = others unsigned short ENCFlag; // 1 = Encrypt. file, 0 = others (V120) // File name }; struct szpOutFull { unsigned int uRecSize; // total size of a returned item void *pHeader; // pointer to CFileHdr object unsigned short uFileNameSize; // file name size unsigned short iBS2Flag; // 1 = BS2000 file, 0 = others unsigned short iENCFlag; // 1 = Encrypt. file, 0 = others (V120) char uModTime[8]; // last mod file time char uModDate[10]; // last mod file date
//unsigned short uFiller; // unused V120 long long uComprSize; // compressed size long long uUncomprSize; // uncompressed size unsigned short uCommentSize; // file comment size unsigned short uExtraFieldSize; // extra field length unsigned int uFiller2; // unused // Filename // Extrafield // Comment }; #endif // __SzpZout_h__
Output buffers examples
INFORMATION=*SUMMARY
szpOutSummary structure | File name 1 | szpOutSummary structure | File name 2 | |
SzpOutSummary structure | File name 3 |
INFORMATION=*ALL
szpOutFull structure | File name 1 | Extra Fields 1 | Comments 1 | ||
szpOutFull structure | File name 3 | Comments 2 |