mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
36 lines
630 B
C
36 lines
630 B
C
/**
|
|
* @file memfs.h
|
|
*
|
|
* @copyright 2015 Bill Zissimopoulos
|
|
*/
|
|
|
|
#ifndef MEMFS_H_INCLUDED
|
|
#define MEMFS_H_INCLUDED
|
|
|
|
#include <winfsp/winfsp.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct _MEMFS MEMFS;
|
|
|
|
enum
|
|
{
|
|
MemfsDisk = 0x00,
|
|
MemfsNet = 0x01,
|
|
MemfsSingleThread = 0x00,
|
|
MemfsThreadPool = 0x02,
|
|
};
|
|
|
|
NTSTATUS MemfsCreate(ULONG Flags, ULONG MaxFileNodes, ULONG MaxFileSize,
|
|
MEMFS **PMemfs);
|
|
VOID MemfsDelete(MEMFS *Memfs);
|
|
FSP_FILE_SYSTEM *MemfsFileSystem(MEMFS *Memfs);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|