| 1 |  | 
|---|
| 2 | /*********************************************************************** | 
|---|
| 3 |  | 
|---|
| 4 | $Id: flesh.h 1879 2015-10-11 23:49:35Z gyoung $ | 
|---|
| 5 |  | 
|---|
| 6 | Drive tree container management | 
|---|
| 7 |  | 
|---|
| 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
| 9 | Copyright (c) 2008, 2015 Steven H. Levine | 
|---|
| 10 |  | 
|---|
| 11 | 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh | 
|---|
| 12 | 19 Aug 15 SHL Allow WaitFleshWorkListEmpty to wait for dependent items | 
|---|
| 13 | 22 Aug 15 GKY Remove recurse scan code. | 
|---|
| 14 | 27 Sep 15 GKY DosSleep times in WaitFleshWorkListEmpty set by caller | 
|---|
| 15 | 10 Oct 15 GKY Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified | 
|---|
| 16 | as directories and add nonexistent subdirectories. | 
|---|
| 17 |  | 
|---|
| 18 | ***********************************************************************/ | 
|---|
| 19 |  | 
|---|
| 20 | #if !defined(FLESH_H) | 
|---|
| 21 | #define FLESH_H | 
|---|
| 22 |  | 
|---|
| 23 | BOOL StartFleshWorkThread(VOID); | 
|---|
| 24 |  | 
|---|
| 25 | typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh} FLESHWORKACTION; | 
|---|
| 26 |  | 
|---|
| 27 | BOOL IsFleshWorkListEmpty(VOID); | 
|---|
| 28 |  | 
|---|
| 29 | VOID SetFleshFocusPath(PCSZ pszPath); | 
|---|
| 30 | BOOL Flesh(HWND hwndCnr, PCNRITEM pciParent); | 
|---|
| 31 | VOID UnFlesh(HWND hwndCnr, PCNRITEM pciParent); | 
|---|
| 32 | VOID WaitFleshWorkListEmpty(PCSZ pszDirName, ULONG ulSleep); | 
|---|
| 33 | BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action); | 
|---|
| 34 |  | 
|---|
| 35 | // Data declarations | 
|---|
| 36 | extern ULONG NoBrokenNotify; | 
|---|
| 37 | extern BOOL fFilesInTree; | 
|---|
| 38 |  | 
|---|
| 39 |  | 
|---|
| 40 | #endif // FLESH_H | 
|---|