ReactOS 0.4.16-dev-117-g38f21f9
|
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <windows.h>
#include <wine/list.h>
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | NODE_W |
struct | NODE_A |
struct | FILECOMPARE |
Macros | |
#define | FLAG_A (1 << 0) |
#define | FLAG_B (1 << 1) |
#define | FLAG_C (1 << 2) |
#define | FLAG_L (1 << 3) |
#define | FLAG_LBn (1 << 4) |
#define | FLAG_N (1 << 5) |
#define | FLAG_OFFLINE (1 << 6) |
#define | FLAG_T (1 << 7) |
#define | FLAG_U (1 << 8) |
#define | FLAG_W (1 << 9) |
#define | FLAG_nnnn (1 << 10) |
#define | FLAG_HELP (1 << 11) |
#define | MAX_VIEW_SIZE (64 * 1024 * 1024) |
Typedefs | |
typedef enum FCRET | FCRET |
typedef struct NODE_W | NODE_W |
typedef struct NODE_A | NODE_A |
typedef struct FILECOMPARE | FILECOMPARE |
Enumerations | |
enum | FCRET { FCRET_INVALID = -1 , FCRET_IDENTICAL = 0 , FCRET_DIFFERENT = 1 , FCRET_CANT_FIND = 2 , FCRET_NO_MORE_DATA = 3 } |
Functions | |
FCRET | TextCompareW (FILECOMPARE *pFC, HANDLE *phMapping0, const LARGE_INTEGER *pcb0, HANDLE *phMapping1, const LARGE_INTEGER *pcb1) |
FCRET | TextCompareA (FILECOMPARE *pFC, HANDLE *phMapping0, const LARGE_INTEGER *pcb0, HANDLE *phMapping1, const LARGE_INTEGER *pcb1) |
VOID | PrintLineW (const FILECOMPARE *pFC, DWORD lineno, LPCWSTR psz) |
VOID | PrintLineA (const FILECOMPARE *pFC, DWORD lineno, LPCSTR psz) |
VOID | PrintCaption (LPCWSTR file) |
VOID | PrintEndOfDiff (VOID) |
VOID | PrintDots (VOID) |
FCRET | NoDifference (VOID) |
FCRET | Different (LPCWSTR file0, LPCWSTR file1) |
FCRET | LongerThan (LPCWSTR file0, LPCWSTR file1) |
FCRET | OutOfMemory (VOID) |
FCRET | CannotRead (LPCWSTR file) |
FCRET | InvalidSwitch (VOID) |
FCRET | ResyncFailed (VOID) |
HANDLE | DoOpenFileForInput (LPCWSTR file) |
typedef struct FILECOMPARE FILECOMPARE |
Enumerator | |
---|---|
FCRET_INVALID | |
FCRET_IDENTICAL | |
FCRET_DIFFERENT | |
FCRET_CANT_FIND | |
FCRET_NO_MORE_DATA |
Definition at line 23 of file fc.h.
Definition at line 70 of file fc.c.
Referenced by BinaryFileCompare(), and TextFileCompare().
Definition at line 118 of file fc.c.
Referenced by BinaryFileCompare(), and TextFileCompare().
Definition at line 46 of file fc.c.
Referenced by BinaryFileCompare(), Finalize(), and TextFileCompare().
Definition at line 93 of file fc.c.
Referenced by Finalize(), and TextCompare().
VOID PrintLineA | ( | const FILECOMPARE * | pFC, |
DWORD | lineno, | ||
LPCSTR | psz | ||
) |
VOID PrintLineW | ( | const FILECOMPARE * | pFC, |
DWORD | lineno, | ||
LPCWSTR | psz | ||
) |
FCRET TextCompareA | ( | FILECOMPARE * | pFC, |
HANDLE * | phMapping0, | ||
const LARGE_INTEGER * | pcb0, | ||
HANDLE * | phMapping1, | ||
const LARGE_INTEGER * | pcb1 | ||
) |
Referenced by TextFileCompare().
FCRET TextCompareW | ( | FILECOMPARE * | pFC, |
HANDLE * | phMapping0, | ||
const LARGE_INTEGER * | pcb0, | ||
HANDLE * | phMapping1, | ||
const LARGE_INTEGER * | pcb1 | ||
) |
Referenced by TextFileCompare().