Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4e1ec201
Commit
4e1ec201
authored
Jun 24, 2005
by
Gerold Jens Wucherpfennig
Committed by
Alexandre Julliard
Jun 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some FCI work.
parent
25f1e75d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
1 deletion
+47
-1
cabinet.h
dlls/cabinet/cabinet.h
+47
-1
fci.c
dlls/cabinet/fci.c
+0
-0
No files found.
dlls/cabinet/cabinet.h
View file @
4e1ec201
...
...
@@ -305,7 +305,41 @@ typedef struct {
PFNFCIDELETE
pfndelete
;
PFNFCIGETTEMPFILE
pfnfcigtf
;
PCCAB
pccab
;
void
*
pv
;
BOOL
fPrevCab
;
BOOL
fNextCab
;
BOOL
fSplitFolder
;
cab_ULONG
statusFolderCopied
;
cab_ULONG
statusFolderTotal
;
BOOL
fGetNextCabInVain
;
void
*
pv
;
char
szPrevCab
[
CB_MAX_CABINET_NAME
];
/* previous cabinet name */
char
szPrevDisk
[
CB_MAX_DISK_NAME
];
/* disk name of previous cabinet */
CCAB
oldCCAB
;
char
*
data_in
;
/* uncompressed data blocks */
cab_UWORD
cdata_in
;
char
*
data_out
;
/* compressed data blocks */
ULONG
cCompressedBytesInFolder
;
cab_UWORD
cFolders
;
cab_UWORD
cFiles
;
cab_ULONG
cDataBlocks
;
cab_ULONG
cbFileRemainer
;
/* uncompressed, yet to be written data */
/* of spanned file of a spanning folder of a spanning cabinet */
cab_UBYTE
szFileNameCFDATA1
[
CB_MAX_FILENAME
];
int
handleCFDATA1
;
cab_UBYTE
szFileNameCFFILE1
[
CB_MAX_FILENAME
];
int
handleCFFILE1
;
cab_UBYTE
szFileNameCFDATA2
[
CB_MAX_FILENAME
];
int
handleCFDATA2
;
cab_UBYTE
szFileNameCFFILE2
[
CB_MAX_FILENAME
];
int
handleCFFILE2
;
cab_UBYTE
szFileNameCFFOLDER
[
CB_MAX_FILENAME
];
int
handleCFFOLDER
;
cab_ULONG
sizeFileCFDATA1
;
cab_ULONG
sizeFileCFFILE1
;
cab_ULONG
sizeFileCFDATA2
;
cab_ULONG
sizeFileCFFILE2
;
cab_ULONG
sizeFileCFFOLDER
;
BOOL
fNewPrevious
;
}
FCI_Int
,
*
PFCI_Int
;
typedef
struct
{
...
...
@@ -326,6 +360,18 @@ typedef struct {
/* cast an HFDI into a PFDI_Int */
#define PFDI_INT(hfdi) ((PFDI_Int)(hfdi))
/* quick pfci method invokers */
#define PFCI_ALLOC(hfdi, size) ((*PFCI_INT(hfdi)->pfnalloc) (size))
#define PFCI_FREE(hfdi, ptr) ((*PFCI_INT(hfdi)->pfnfree) (ptr))
#define PFCI_GETTEMPFILE(hfci,name,length) ((*PFCI_INT(hfci)->pfnfcigtf)(name,length,PFCI_INT(hfci)->pv))
#define PFCI_DELETE(hfci,name,err,pv) ((*PFCI_INT(hfci)->pfndelete)(name,err,pv))
#define PFCI_OPEN(hfci,name,oflag,pmode,err,pv) ((*PFCI_INT(hfci)->pfnopen)(name,oflag,pmode,err,pv))
#define PFCI_READ(hfci,hf,memory,cb,err,pv)((*PFCI_INT(hfci)->pfnread)(hf,memory,cb,err,pv))
#define PFCI_WRITE(hfci,hf,memory,cb,err,pv) ((*PFCI_INT(hfci)->pfnwrite)(hf,memory,cb,err,pv))
#define PFCI_CLOSE(hfci,hf,err,pv) ((*PFCI_INT(hfci)->pfnclose)(hf,err,pv))
#define PFCI_SEEK(hfci,hf,dist,seektype,err,pv)((*PFCI_INT(hfci)->pfnseek)(hf,dist,seektype,err,pv))
#define PFCI_FILEPLACED(hfci,pccab,name,cb,cont,pv)((*PFCI_INT(hfci)->pfnfiledest)(pccab,name,cb,cont,pv))
/* quickie pfdi method invokers */
#define PFDI_ALLOC(hfdi, size) ((*PFDI_INT(hfdi)->pfnalloc) (size))
#define PFDI_FREE(hfdi, ptr) ((*PFDI_INT(hfdi)->pfnfree) (ptr))
...
...
dlls/cabinet/fci.c
View file @
4e1ec201
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment