repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #47 from Memphiz/win32fix3
[deb_libnfs.git]
/
include
/
nfsc
/
libnfs.h
diff --git
a/include/nfsc/libnfs.h
b/include/nfsc/libnfs.h
index 81750db3ec0189ba14fd1f83f82c4f05985fa739..388ea78e6293685ebe5ad028fe063c8f55e33cc0 100644
(file)
--- a/
include/nfsc/libnfs.h
+++ b/
include/nfsc/libnfs.h
@@
-217,8
+217,11
@@
EXTERN int nfs_stat_async(struct nfs_context *nfs, const char *path, nfs_cb cb,
* 0 : The operation was successfull.
* -errno : The command failed.
*/
* 0 : The operation was successfull.
* -errno : The command failed.
*/
+#ifdef WIN32
+EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct __stat64 *st);
+#else
EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct stat *st);
EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct stat *st);
-
+#endif
/*
* FSTAT()
/*
* FSTAT()
@@
-242,7
+245,11
@@
EXTERN int nfs_fstat_async(struct nfs_context *nfs, struct nfsfh *nfsfh, nfs_cb
* 0 : The operation was successfull.
* -errno : The command failed.
*/
* 0 : The operation was successfull.
* -errno : The command failed.
*/
+#ifdef WIN32
+EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct __stat64 *st);
+#else
EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat *st);
EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat *st);
+#endif