ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

fci.c File Reference
#include "config.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h"
#include "fci.h"
#include "cabinet.h"
#include "wine/list.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  PCFHEADER
struct  PCFFOLDER
struct  PCFFILE
struct  PCFDATA
struct  temp_file
struct  folder
struct  file
struct  data_block
struct  FCI_Int

Defines

#define fci_endian_ulong(x)   (x)
#define fci_endian_uword(x)   (x)
#define FCI_INT_MAGIC   0xfcfcfc05

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (cabinet)
static void set_error (FCI_Int *fci, int oper, int err)
static FCI_Intget_fci_ptr (HFCI hfci)
static cab_ULONG get_header_size (FCI_Int *fci)
static BOOL create_temp_file (FCI_Int *fci, struct temp_file *file)
static BOOL close_temp_file (FCI_Int *fci, struct temp_file *file)
static struct fileadd_file (FCI_Int *fci, const char *filename)
static struct filecopy_file (FCI_Int *fci, const struct file *orig)
static void free_file (FCI_Int *fci, struct file *file)
static BOOL add_data_block (FCI_Int *fci, PFNFCISTATUS status_callback)
static BOOL add_file_data (FCI_Int *fci, char *sourcefile, char *filename, BOOL execute, PFNFCIGETOPENINFO get_open_info, PFNFCISTATUS status_callback)
static void free_data_block (FCI_Int *fci, struct data_block *block)
static struct folderadd_folder (FCI_Int *fci)
static void free_folder (FCI_Int *fci, struct folder *folder)
static void reset_cabinet (FCI_Int *fci)
static cab_ULONG fci_get_checksum (const void *pv, UINT cb, cab_ULONG seed)
static BOOL copy_data_blocks (FCI_Int *fci, INT_PTR handle, cab_ULONG start_pos, struct temp_file *temp, PFNFCISTATUS status_callback)
static BOOL write_folders (FCI_Int *fci, INT_PTR handle, cab_ULONG header_size, PFNFCISTATUS status_callback)
static BOOL write_files (FCI_Int *fci, INT_PTR handle, PFNFCISTATUS status_callback)
static BOOL write_data_blocks (FCI_Int *fci, INT_PTR handle, PFNFCISTATUS status_callback)
static BOOL write_cabinet (FCI_Int *fci, PFNFCISTATUS status_callback)
static BOOL add_data_to_folder (FCI_Int *fci, struct folder *folder, cab_ULONG *payload, PFNFCISTATUS status_callback)
static BOOL add_files_to_folder (FCI_Int *fci, struct folder *folder, cab_ULONG payload)
static cab_UWORD compress_NONE (FCI_Int *fci)
HFCI __cdecl FCICreate (PERF perf, PFNFCIFILEPLACED pfnfiledest, PFNFCIALLOC pfnalloc, PFNFCIFREE pfnfree, PFNFCIOPEN pfnopen, PFNFCIREAD pfnread, PFNFCIWRITE pfnwrite, PFNFCICLOSE pfnclose, PFNFCISEEK pfnseek, PFNFCIDELETE pfndelete, PFNFCIGETTEMPFILE pfnfcigtf, PCCAB pccab, void *pv)
static BOOL fci_flush_folder (FCI_Int *p_fci_internal, BOOL fGetNextCab, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
static BOOL fci_flush_cabinet (FCI_Int *p_fci_internal, BOOL fGetNextCab, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
BOOL __cdecl FCIAddFile (HFCI hfci, char *pszSourceFile, char *pszFileName, BOOL fExecute, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis, PFNFCIGETOPENINFO pfnfcigoi, TCOMP typeCompress)
BOOL __cdecl FCIFlushFolder (HFCI hfci, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
BOOL __cdecl FCIFlushCabinet (HFCI hfci, BOOL fGetNextCab, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
BOOL __cdecl FCIDestroy (HFCI hfci)

Generated on Mon May 28 2012 05:07:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.