windows: native versions of ih_pread and ih_pwrite
[openafs.git] / src / vol / ntops.h
index 9ca1b56..a01c4d9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
@@ -25,6 +25,8 @@ extern FD_t nt_open(char *name, int flags, int mode);
 extern int nt_close(FD_t fd);
 extern int nt_write(FD_t fd, char *buf, size_t size);
 extern int nt_read(FD_t fd, char *buf, size_t size);
+extern int nt_pread(FD_t fd, void * buf, size_t count, afs_foff_t offset);
+extern int nt_pwrite(FD_t fd, const void * buf, size_t count, afs_foff_t offset);
 extern int nt_size(FD_t fd);
 extern int nt_getFileCreationTime(FD_t fd, FILETIME * ftime);
 extern int nt_setFileCreationTime(FD_t fd, FILETIME * ftime);
@@ -37,7 +39,7 @@ extern int nt_unlink(char *name);
 
 /* Inode operations */
 extern Inode nt_MakeSpecIno(int type);
-extern Inode nt_icreate(IHandle_t * h, char *p, afs_uint32 p1, afs_uint32 p2, 
+extern Inode nt_icreate(IHandle_t * h, char *p, afs_uint32 p1, afs_uint32 p2,
                         afs_uint32 p3, afs_uint32 p4);
 extern FD_t nt_iopen(IHandle_t * h);
 extern int nt_irelease(IHandle_t * h);