Ronnie Sahlberg
29b4cea00f
multithreading: make nfs_get_error() work for multithreaded applications
...
This mostly consists of creating one slave nfs_context for each nfs
thread to track the error-string.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2022-01-28 10:38:32 +10:00
Ronnie Sahlberg
630a80c056
WIN32: add multithreading support for windows
2022-01-02 13:02:31 +10:00
Daniel Abrecht
939814826f
Fix mingw build: add strndup implementation to win32_compat.c
2021-10-03 12:51:42 +00:00
crusader-mike
9d5427bbd4
fixed few MSVC warnings; fixed missing exports
2019-10-09 17:08:10 -05:00
crusader-mike
4da7bb4fec
Windows: dll (built with cmake) will contain proper file version info
2019-09-13 12:46:19 -05:00
crusader-mike
6564abaa1f
fixed CMake build on windows, few trivial fixes
2019-09-12 15:07:35 -05:00
Daniel Abrecht
b3fd3ca7e4
Move win32/win32_compat.h to include/win32/win32_compat.h
2018-04-16 19:42:38 +00:00
Daniel Abrecht
6f7e12bc5d
Define F_RDLCK for windows builds
2018-01-13 13:39:38 +00:00
Daniel Abrecht
e1c3c5f2b9
Add a check if S_IRWXG is already defined. msys2 mingw-w64 added the defines for S_IRWXG, S_IRGRP, etc. in sys/stat.h in commit f713f639f6f017371c5176f4deab07d1a92473b4
2017-10-14 13:36:04 +00:00
Lukas Rusak
7969c78291
add cmake build system support
2017-10-02 13:00:33 -07:00
Ronnie Sahlberg
1da019ad71
NFSv4: Fix some compiler warnings
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-09-04 08:51:20 +10:00
Ronnie Sahlberg
825d8c2aa3
WIN32: Update the project file with nfs_v4.c (and the renamed nfs_v3.c)
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-07-08 10:04:22 +10:00
Ronnie Sahlberg
0e0bb3fb34
NFSv4: Move all v3 specific code into its own nfsv3.c file
...
Split out the nfsv3 code from libnfs.c into its own file.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-06-30 13:48:59 +10:00
Ronnie Sahlberg
43346ffd02
Make O_NONBLOCK and O_SYNC conditional if they have not yet been defined
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-05-08 22:33:45 -07:00
Ronnie Sahlberg
987638a384
Win32/64 does not have O_NOFOLLOW
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-05-08 21:11:00 -07:00
Daniel Abrecht
50bf03bc66
Some changes to resolve conflicts with dokan_fuse
2017-02-26 18:14:37 +00:00
Daniel Abrecht
7882711c8c
Fix crosscompile with *-w64-mingw32-gcc
2017-02-26 18:14:30 +00:00
Ronnie Sahlberg
85853ae9f0
WIN32: Add nfs4 to the visual studio project files
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-12-26 16:09:36 -08:00
Ronnie Sahlberg
85760ec4d6
Fixes to build nfs-ls and nfs-cp on win32
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-11-06 14:44:03 -08:00
sahlberg
048e7737d9
WIN32: map open to _open. Same for lseek, read, write
2016-09-21 15:47:19 -07:00
sahlberg
72bcd185db
WIN32: remove the nfsclient-* examples from the project
2016-09-21 11:05:20 -07:00
sahlberg
adc46ec1b0
WIN32: Change examples -> utils for nfs-ls and nfs-cp project filter
2016-09-21 11:02:53 -07:00
sahlberg
dc8e10df07
WIN32: compiler warnings
2016-09-21 10:49:59 -07:00
Ronnie Sahlberg
c000bf2acc
WIN32: Add include paths for include/nfsc for x64 builds
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-09-20 18:42:54 -07:00
Ronnie Sahlberg
2601b42496
WIN32: remove references to onc-rpc
...
We have not needed an external onc-rpc library for libnfs in a long
long time since the re-write to use a builtin XDR replacement (ZDR).
Remove all references from the project files to my old port of a onc-rpc
library to win32.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-09-20 18:42:17 -07:00
Ronnie Sahlberg
9a65270510
WIN32: Add portmap to the include paths
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-09-20 18:17:24 -07:00
Ronnie Sahlberg
b70d5b6dac
WIN32: No need to run rpcgen.exe anymore. Remove from project.
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-09-20 18:09:25 -07:00
Ronnie Sahlberg
53f634468c
WIN32: Update the path to nfs-{cp|ls}.c
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-09-20 17:42:46 -07:00
sahlberg
b741a44f81
WIN32: Add portmap to more include directives
2016-09-20 17:40:18 -07:00
Diego Elio Pettenò
215b6eab13
win32: instead of ATTRIBUTE(unused) use _U_ to mark dummy as unused.
2016-01-08 23:43:07 +01:00
Jean-Baptiste Kempf
76daf49d2d
Win32: Mingw has timezone and mingw_gettimeofday
2016-01-08 23:08:06 +01:00
Jean-Baptiste Kempf
6d30222b04
Win32: use lower-case for Windows headers
...
This does not change a thing for MSVC, but This is needed for
Cross-Compiling with Mingw/Mingw-w64
2016-01-08 22:29:50 +01:00
Ronnie Sahlberg
a5119185cb
win32: add define for S_IFLNK
...
Add a define for S_IFLNK to win32. Even if windows does not have this
file type locally, it can still encounter them from an nfs server.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-01-12 20:32:19 -08:00
Ronnie Sahlberg
a0c4ea7d9f
update copyright bilerplates also in generated files
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-06-13 17:03:35 -07:00
Ronnie Sahlberg
c63ba81eeb
win32_errnowrapper.h: add licence boilerplate
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-06-08 07:54:45 -07:00
Memphiz
18bfd0b2a2
[win32] - add new missing files to vs project
2014-01-13 19:52:06 +01:00
Memphiz
584346331d
[win32] - fix missing preprocessor define for using 32bit time_t in
...
release target of vs project (fixes crashing with xbmc)
2013-07-10 19:53:54 +02:00
Memphiz
292e2d9097
[win32] - add projects for examples to the solution and make them compile (all compile but nfsclient-bcast)
2013-05-29 18:41:31 +02:00
Memphiz
21eeb9f5e3
[win32] - include time.h through win32_compat.h for getting rid of undefined symbol warnings
2013-05-29 18:41:23 +02:00
Memphiz
067ece8bf2
[win32] - fix visual studio project for allowing compilation for windows
2013-05-29 18:41:10 +02:00
Ronnie Sahlberg
67a9f57e67
WIN32 fixes
2013-05-28 16:15:16 -07:00
Ronnie Sahlberg
2142af5d47
WIN32: More ifdef cleanups
2013-04-14 09:02:23 -07:00
Ronnie Sahlberg
d7c6e9aaa9
Initial AROS support.
...
The test app doesnt link yet since we are missing a bunch of symbols
but it is a start
2013-04-10 20:28:40 -07:00
Ronnie Sahlberg
ec70621f42
Remove all remaining references to RPC
2012-12-04 18:55:32 -08:00
Evgeny Grin
178e092aca
[Win32] Add windows x64 builds, use some win defines from header if available
2012-11-09 19:40:19 +04:00
Rudi Ihle
f96b24fada
Fixed errno processing for connect() on Windows.
2012-09-18 08:33:41 +02:00
unknown
35bb34b41c
[win32] - fixe compilation broken since mknod addition
2012-03-18 18:17:24 +01:00
Memphiz
fcc42bfe85
[win32] - completed win32 port
2011-09-12 19:53:33 +02:00
Memphiz
f650a138b6
[fix] - vs2010 project for libnfs
2011-09-12 19:21:02 +02:00
Memphiz
20a96d422c
[add/change] - win32 wrappers
2011-09-12 18:58:28 +02:00