Windows: Direct IO Support for Service
[openafs.git] / src / WINNT / afsrdr / user / RDRPrototypes.h
index d71a0c9..a29d9b5 100644 (file)
@@ -46,7 +46,7 @@ typedef struct cm_scache cm_scache_t;
 #include <../common/AFSUserPrototypes.h>
 
 void
-RDR_InitReq( IN OUT cm_req_t *reqp );
+RDR_InitReq( IN OUT cm_req_t *reqp, BOOL bWow64);
 
 DWORD
 RDR_SetInitParams( OUT AFSRedirectorInitInfo **ppRedirInitInfo,
@@ -77,6 +77,7 @@ RDR_EvaluateNodeByName( IN cm_user_t *userp,
                         IN WCHAR     *Name,
                         IN DWORD     NameLength,
                         IN BOOL      CaseSensitive,
+                        IN BOOL      LastComponent,
                         IN BOOL      bWow64,
                         IN BOOL      bQueryStatus,
                         IN BOOL      bHoldFid,
@@ -133,6 +134,16 @@ RDR_RenameFileEntry( IN cm_user_t *userp,
                      IN OUT AFSCommResult **ResultCB);
 
 void
+RDR_HardLinkFileEntry( IN cm_user_t *userp,
+                       IN WCHAR    *SourceFileName,
+                       IN DWORD     SourceFileNameLength,
+                       IN AFSFileID SourceFileId,
+                       IN AFSFileHardLinkCB *HardLinkCB,
+                       IN BOOL bWow64,
+                       IN DWORD ResultBufferLength,
+                       IN OUT AFSCommResult **ResultCB);
+
+void
 RDR_FlushFileEntry( IN cm_user_t *userp,
                     IN AFSFileID FileId,
                     IN BOOL bWow64,
@@ -355,6 +366,29 @@ RDR_PipeTransceive( IN cm_user_t     *userp,
                     IN DWORD          ResultBufferLength,
                     IN OUT AFSCommResult **ResultCB);
 
+void
+RDR_ReadFile( IN cm_user_t     *userp,
+              IN AFSFileID      FileID,
+              IN LARGE_INTEGER *Offset,
+              IN ULONG          Length,
+              IN PVOID          Buffer,
+              IN BOOL           bWow64,
+              IN BOOL           bCacheBypass,
+              IN DWORD          ResultBufferLength,
+              IN OUT AFSCommResult **ResultCB);
+
+void
+RDR_WriteFile( IN cm_user_t     *userp,
+               IN AFSFileID      FileID,
+               IN AFSFileIOCB   *FileIOCB,
+               IN LARGE_INTEGER *Offset,
+               IN ULONG          Length,
+               IN PVOID          Buffer,
+               IN BOOL           bWow64,
+               IN BOOL           bCacheBypass,
+               IN DWORD          ResultBufferLength,
+               IN OUT AFSCommResult **ResultCB);
+
 cm_user_t *
 RDR_UserFromCommRequest( IN AFSCommRequest * pRequest);