repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Win32 changes, include files we need when compiling under win32
[deb_libnfs.git]
/
include
/
libnfs.h
diff --git
a/include/libnfs.h
b/include/libnfs.h
index 0676efa787c58e83aba834986be3363919b0e3b2..2038d8a0a335800217dba3b080f594e94c12464e 100644
(file)
--- a/
include/libnfs.h
+++ b/
include/libnfs.h
@@
-22,6
+22,29
@@
struct nfs_context;
struct rpc_context;
struct nfs_context;
struct rpc_context;
+#if defined(WIN32)
+struct statvfs {
+ uint32_t f_bsize;
+ uint32_t f_frsize;
+ uint64_t f_blocks;
+ uint64_t f_bfree;
+ uint64_t f_bavail;
+ uint32_t f_files;
+ uint32_t f_ffree;
+ uint32_t f_favail;
+ uint32_t f_fsid;
+ uint32_t f_flag;
+ uint32_t f_namemax;
+};
+struct utimbuf {
+ time_t actime;
+ time_t modtime;
+};
+#define R_OK 4
+#define W_OK 2
+#define X_OK 1
+#endif
+
/*
* Used for interfacing the async version of the api into an external eventsystem
*/
/*
* Used for interfacing the async version of the api into an external eventsystem
*/