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
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
b14062764e
ZDR: we need to include both arpa/inet.h and time.h
2012-07-05 21:17:45 +10:00
Ronnie Sahlberg
442b829a05
Dont just cast *enum_t to *uint32_t
...
go via a temporary variable in case these scalars are different size
2012-07-05 21:13:04 +10:00
Ronnie Sahlberg
67ba2239cb
Get rid of AUTH completely and replace all uses with 'struct AUTH'
2012-07-05 10:23:19 +10:00
Ronnie Sahlberg
9c29b498f4
Update how the rpc files are generated so we dont get "unused variable" for *buf
2012-07-05 07:46:52 +10:00
Ronnie Sahlberg
45670bd0d6
fix compiler warnings
2012-07-05 07:37:37 +10:00
Ronnie Sahlberg
020f172895
fix compiler warning
2012-07-05 07:35:04 +10:00
Ronnie Sahlberg
d14e28387f
squelch compiler warnings in socket.c about integer sizes
2012-07-05 07:21:48 +10:00
Ronnie Sahlberg
574095b960
Change a size variable from uint64 to uint32 to squelch a warning
2012-07-05 07:12:11 +10:00
Ronnie Sahlberg
10a0ceaaa3
librpc_rpc_call_body() should return TRUE is successful
2012-07-05 07:09:00 +10:00
Ronnie Sahlberg
242b81cfbf
setpos returns a boolean, set it to always return TRUE
2012-07-05 07:06:33 +10:00
Ronnie Sahlberg
763cd6e3e2
ZDR: New builtin replacement for RPC/XDR called ZDR
...
This patch switches libnfs over to use precompiled rpcgen files
and using ZDR. ZDR is a trivial reimplementation of XDR that is built in
into libnfs.
This removes the dependencies of rpc/xdr completely and allow us to build on any
system, even systems where rpcgen and librpc/libxdr are not generally available.
2012-07-04 16:53:12 +10:00
Ronnie Sahlberg
061d3f1f99
Merge pull request #22 from Memphiz/win32compilefix
...
[win32] - fixed compilation broken since mknod addition
2012-03-26 00:51:41 -07:00
unknown
35bb34b41c
[win32] - fixe compilation broken since mknod addition
2012-03-18 18:17:24 +01:00
Ronnie Sahlberg
c33ce42cc5
NLM add NLM_GRANTED procedure to the rpc file
2012-03-10 22:56:56 +11:00
Ronnie Sahlberg
a171d4dada
NLM add helper functions to send async calls for the NLM functions
2012-03-10 22:50:10 +11:00
Ronnie Sahlberg
04ba56c460
NLM add NLM4 LOCK definition to the rpc file
2012-03-10 22:43:47 +11:00
Ronnie Sahlberg
8d3c1af0c9
NLM: add UNLOCK call
2012-03-10 22:36:26 +11:00
Ronnie Sahlberg
c880fdacce
NLM : add raw function for NLM4 CANCEL
2012-03-10 22:30:53 +11:00
Ronnie Sahlberg
2faefcac23
NLM the cookie is always present in NLM replies and it is the first blob
2012-03-10 22:19:06 +11:00
Ronnie Sahlberg
e01ed6a239
NLM add TEST procedure
2012-03-10 21:38:29 +11:00
Ronnie Sahlberg
6916a66546
NLM: initial support for NLM
2012-03-10 20:46:03 +11:00
Ronnie Sahlberg
f314b3df7d
Merge branch 'master' of github.com:sahlberg/libnfs
2012-03-09 09:25:02 +11:00
Ronnie Sahlberg
0118a5f0de
GETACL: change the signature for the raw getacl3 function to take GETACL3args pointer instead of a discrete arguments
2012-03-08 22:52:20 +11:00
Ronnie Sahlberg
fa3c25beee
NFSACL: Add support for SETACL3
2012-03-08 21:25:21 +11:00
Ronnie Sahlberg
6494f8fcd4
README, document where the mailinglist is and where release tarballs can be downloaded
2012-03-05 13:29:31 +11:00
Ronnie Sahlberg
370ae18137
update the licence text and proide an explicit copy of LGPL2.1 and GPL3
2012-03-04 17:13:08 +11:00
Ronnie Sahlberg
47e5a2c740
new version 1.3
2012-03-03 19:04:58 +11:00
Ronnie Sahlberg
8e25581668
change rpc_nfs_symlink_async to take a full SYMLINK3args as parameter
2012-01-14 08:18:19 +11:00
Ronnie Sahlberg
16104b27bd
make low level readlink_async function take READLINK3args as argument
2012-01-14 08:11:09 +11:00
Ronnie Sahlberg
7edc9026db
make mkdir_async take a full MKDIR3args argument
2012-01-12 16:02:32 +11:00
Ronnie Sahlberg
bac0bc5404
rpc_nfs_create_async, args is now a pointer, not a structur
...
so we shouldnt take the address of it
2012-01-12 15:56:02 +11:00
Ronnie Sahlberg
c985c015f2
change crate_async low level function to take a full RATE3args structure as argument instead of just name and mode
2012-01-12 15:31:49 +11:00
Ronnie Sahlberg
b426ef0404
read returns a READ3res, not a ACCESS3res
2012-01-12 15:19:45 +11:00
Ronnie Sahlberg
8724c83390
Add function to get root filehandle from a nfs context
2012-01-11 07:04:01 +11:00
Ronnie Sahlberg
e6cac86f77
Try to rotate the ports we assign when root better so we dont reuse
...
a port htat is in time-wait too frequently
2012-01-03 07:25:25 +11:00
Ronnie Sahlberg
59f298f5bf
Improve an error message to show the errno value
2012-01-03 07:18:56 +11:00
Ronnie Sahlberg
8e9d7dde75
MOUNT: describe mount version 1
2012-01-01 10:37:54 +11:00
Ronnie Sahlberg
1fbe408023
PORTMAPPER: Add set/unset functions
2011-12-31 15:01:38 +11:00