mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
43 lines
1.4 KiB
/*****************************************************************************
|
|
* *
|
|
* TF.H *
|
|
* *
|
|
* Copyright (C) Microsoft Corporation 1990. *
|
|
* All Rights reserved. *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
/*****************************************************************************
|
|
* *
|
|
* Typedefs *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
typedef struct {
|
|
BOOL fExists; // TRUE if the file has been created
|
|
FM fm; // Name of temp file
|
|
FILE * pf; // Should be pfileNil if file not open
|
|
} TF, * PTF;
|
|
|
|
/*****************************************************************************
|
|
* *
|
|
* Static Variables *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
extern char * fTFWrite;
|
|
extern char * fTFRead;
|
|
|
|
/*****************************************************************************
|
|
* *
|
|
* Prototypes *
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
BOOL FOpenPtf(PTF, const char*);
|
|
void STDCALL FRemovePtf(PTF*);
|
|
PTF PtfNew(BOOL);
|
|
|
|
#ifdef _DEBUG
|
|
void VerifyPtf(PTF);
|
|
#endif
|