Ronnie Sahlberg
03aea5e929
AROS: Add copyright boilerplate for aros_compat.c
2013-04-13 04:20:57 -07:00
Ronnie Sahlberg
f95e1d1108
AROS: implement their weird errno handling
2013-04-13 04:13:05 -07:00
Ronnie Sahlberg
e267bb128c
AROS: Update README and list AROS as supported and provide build instruction for it
2013-04-13 03:49:15 -07:00
Ronnie Sahlberg
a7954132ce
AROS: We have to provide the correct nfds to WaitSelect
...
When copying the poll() compatibility function from win32 to AROS
we need to update it to set nfds correctly.
While win32 does not care what nfds is set to and works even if nfds is always
0, other platforms, like AROS do care.
2013-04-13 03:39:12 -07:00
Ronnie Sahlberg
0f9fe7c64d
SOCKADDR_STORAGE: it is called HAVE_SOCKADDR_LEN not HAVE_SA_LEN
2013-04-12 19:13:11 -07:00
Ronnie Sahlberg
5c9c5f15f1
AROS: we need htons to convert socket port to network order
2013-04-12 18:12:56 -07:00
Ronnie Sahlberg
f69bd55482
AROS more stuff. The listservers example now compiles and links
...
it sends packets to the host but something is still not working.
2013-04-12 17:38:44 -07:00
Ronnie Sahlberg
2cdf4fcb07
AROS: it is called IoctlSocket/CloseSocket and WaitSelect on AROS.
...
Additionally add a aros_init_socket() function to open the bsd socket library and set up networking
2013-04-12 06:12:58 -07:00
Ronnie Sahlberg
e77d093c37
AROS: getting closer to link. only a handful of missing symbols now
2013-04-11 18:37:05 -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
5ba63317ac
Merge pull request #32 from hulu/master
...
[PATCH] randomize the initial rpc xid to avoid reply cache collision
2013-02-26 06:40:23 -08:00
Steve Cai
a27561934c
randomize the initial rpc xid to avoid reply cache collision
2013-02-25 16:40:29 -08:00
Ronnie Sahlberg
273850767d
README: We dont need tirpc for cygwin builds anymore
2013-01-03 18:13:05 -08:00
Ronnie Sahlberg
ec70621f42
Remove all remaining references to RPC
2012-12-04 18:55:32 -08:00
Ronnie Sahlberg
30b0750702
Merge pull request #31 from clandmeter/master
...
Remove rpcgen check
2012-12-04 18:43:52 -08:00
Carlo Landmeter
12106f4908
Remove rpcgen check as it is not needed anymore
2012-12-05 00:43:21 +01:00
Ronnie Sahlberg
8afcdc959f
New version 1.5
...
- Switch to our own builtin RPC/XDR replacement
- Android support
2012-12-03 06:38:18 -08:00
Ronnie Sahlberg
e803ae5760
Rearrange the header files.
...
Move the headers we install to ./include/nfsc
and start including nfsc/libnfs-zdr.h from all the other header files.
2012-11-28 20:21:53 -08:00
Ronnie Sahlberg
f9bb21ad7d
Add ifndef's to protect libnfs-raw.h from being included multiple times
2012-11-28 19:26:54 -08:00
Ronnie Sahlberg
717cc58e61
Merge pull request #30 from theuni/android
...
[droid] Support building for android
2012-11-28 19:19:09 -08:00
Cory Fields
252aa90dc8
[droid] Support building for android
...
These are the changes necessary to build for android. Working status is yet
untested.
2012-11-28 12:04:10 -05:00
Ronnie Sahlberg
db0c9f4212
Install libnfs-zdr.h
2012-11-28 06:36:06 -08:00
Ronnie Sahlberg
f816bf4c76
Merge branch 'zdr'
...
Manually fixyp some merge conflicts in :
lib/init.c
lib/pdu.c
lib/socket.c
nfs/Makefile.am
nfs/nfs.x
nlm/Makefile.am
2012-11-27 18:22:27 -08:00
Ronnie Sahlberg
aab6538bbd
Implement 'rejected_reply' and switch to RFC5531 definitions
...
Switch to using fields and names from RFC5531. that is the standard
for RPC.
2012-11-26 19:42:10 -08:00
Ronnie Sahlberg
dedc4675ba
New version 1.4
...
- Add trackig of freed context and assert on using a context after it has been
freed.
- Windows x64 support and fixes.
- Switch to using our own version of xdr_int64() since the one in libtirpc
crashes on some platforms.
- Fix memory leak in an error path for addrinfo.
- Fix bug dereferencing a null pointer in the mount callback on error.
2012-11-25 07:57:40 -08:00
Ronnie Sahlberg
5f08d03e16
ZDR_ARRAYS: The sub-unmarshaller returns TRUE FALSE if there was an error, not TRUE
2012-11-24 09:01:00 -08:00
Ronnie Sahlberg
09d8500e23
We must link the examples with popt
2012-11-24 08:26:26 -08:00
Ronnie Sahlberg
f3a7507806
Add an assert to track if we try to use an rpc_context after it has been destroyed
2012-11-24 08:18:54 -08:00
Ronnie Sahlberg
31a2602e3d
NFSCLIENT-SYNC: remove some debug output
2012-11-24 08:15:20 -08:00
Ronnie Sahlberg
2811861b96
Dont leak addrinfo in error path
2012-11-24 08:14:12 -08:00
Evgeny Grin
a3b77e110c
[Win32] Add windows x64 builds, use some win defines from header if available
2012-11-24 08:14:00 -08:00
Ronnie Sahlberg
9b6d106414
MOUNT: when processing the mount response, check status before dereferencing data pointer
...
If status is non-zero in the mount callback, then the datapointer might be NULL
so we should not dereference it into an exports pointer before we have checked the status.
This would otherwise cause crashes.
2012-11-24 08:13:46 -08:00
warped-rudi
e7d599007f
Added ignore pattern for Windows intermediate files
2012-11-24 08:12:55 -08:00
Rudi Ihle
456c0b147a
Fixed errno processing for connect() on Windows.
2012-11-24 08:12:45 -08:00
Rudi Ihle
2521374f70
Modified mechanism to assign privileged ports and enable it for Windows as well
2012-11-24 08:12:31 -08:00
Ronnie Sahlberg
4a2b08768a
Add an assert to track if we try to use an rpc_context after it has been destroyed
2012-11-21 17:10:05 -08:00
Ronnie Sahlberg
67336940cd
Change the sync example to perform a 'ls -l' on an NFS URL
2012-11-21 16:49:30 -08:00
Ronnie Sahlberg
b9813d24ca
Configure: When configuring examples, make sure we have popt-devel
...
Add a check for configure that we do have popt-devel available
if --enable-examples is specified.
2012-11-21 16:47:51 -08:00
Ronnie Sahlberg
0222cbfdf1
Merge branch 'master' of github.com:sahlberg/libnfs
2012-11-21 16:45:03 -08:00
Ronnie Sahlberg
e7e7b39fb0
Merge pull request #27 from Karlson2k/Win32x64
...
Add windows x64 builds, use some win defines from header if available
2012-11-20 19:51:10 -08:00
Ronnie Sahlberg
bac8592135
NFSCLIENT-SYNC: remove some debug output
2012-11-17 22:06:19 -08:00
Ronnie Sahlberg
6b93021bbf
Use our own xdr_int64() for all 64 bit types.
...
Oh dear. It is really difficult for rpc and tirpc implementors to get
64 bit types right. Sigh.
I am tired of fighting broken ti-rpc libraries under linux and others
that do random corruption on xdr_u_quad_t and friends
so lets just override that shit and replace it with our own, non-broken,
implementation of a 64 bit xdr accessor.
2012-11-17 10:14:43 -08:00
Ronnie Sahlberg
bbed37ca52
Change the sync example to perform a 'ls -l' on an NFS URL
2012-11-17 10:14:29 -08:00
Ronnie Sahlberg
d70bb1524b
Configure: When configuring examples, make sure we have popt-devel
...
Add a check for configure that we do have popt-devel available
if --enable-examples is specified.
2012-11-17 10:14:24 -08:00
Ronnie Sahlberg
be7f59339e
Dont leak addrinfo in error path
2012-11-17 10:14:19 -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
Ronnie Sahlberg
5ac848e908
MOUNT: when processing the mount response, check status before dereferencing data pointer
...
If status is non-zero in the mount callback, then the datapointer might be NULL
so we should not dereference it into an exports pointer before we have checked the status.
This would otherwise cause crashes.
2012-11-04 15:55:05 -08:00
Ronnie Sahlberg
6e3fe62c50
Merge pull request #23 from warped-rudi/master-updates
...
Merged. Thanks!
2012-09-18 17:54:22 -07:00
warped-rudi
0711a119ad
Added ignore pattern for Windows intermediate files
2012-09-18 08:35:11 +02:00
Rudi Ihle
f96b24fada
Fixed errno processing for connect() on Windows.
2012-09-18 08:33:41 +02:00