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
Ronnie Sahlberg
5c6b1176c2
PMAP: allow to ask for tcp/udp port, dont assume users only ever want the tcp port
2011-12-31 14:24:20 +11:00
Ronnie Sahlberg
345422a2e3
New version 1.2
2011-12-06 18:02:34 +11:00
Ronnie Sahlberg
d7ec001f1a
Set IFREG from file type, dont assume mode bits contain it
...
Needed for HaneWin which does not set S_IFMT in the modebits returned
2011-12-05 13:54:21 +11:00
Ronnie Sahlberg
183451cff5
Remove all [s]size_t / off_t and replace with [u]int64_t making libnfs 64-bit pure
2011-11-27 14:49:08 +11:00
Ronnie Sahlberg
1ec6b50aef
Add MKNOD command support
...
Add support for raw nfs3 mknod and sync and async posixlike api
2011-11-27 14:08:24 +11:00
Ronnie Sahlberg
86ef491004
New version 1.1
2011-11-27 11:20:57 +11:00
Ronnie Sahlberg
71f480591a
Make _FILE_OFFSET_BITS=64 always
2011-11-27 11:09:09 +11:00
Ronnie Sahlberg
14a062eb59
Everytime we use rpc_connect_async() internally, make sure we clear the ->connect_cb so that we dont have a callback function and "private data" being invoked long after the "private data" structure has been free()d.
2011-10-09 19:47:07 +11:00
Ronnie Sahlberg
a3d44462cb
Sync API: Once the sync nfs_mount() functions is finished we have to clear rpc->connect_cb.
...
Otherwise we get a crash once the connect_cb callback is invoked the second time.
2011-10-09 19:10:18 +11:00
Ronnie Sahlberg
b990de23c6
Only call the "connect callback" if the callback is set to non-NULL
2011-10-09 19:00:24 +11:00
Ronnie Sahlberg
8704724f83
Change remaining "struct AUTH *" to "AUTH *"
2011-10-09 15:22:05 +11:00
Ronnie Sahlberg
7bd7041bd8
Merge pull request #19 from Memphiz/auth2
...
[fix] - fix improper definition of struct AUTH from osx (caution - API ch
2011-10-08 16:31:20 -07:00
Memphiz
fa33813ed4
[fix] - fix improper definition of struct AUTH from osx (caution - API change - not clear if typedef is there on all plattforms...)
2011-10-08 18:10:06 +02:00
Ronnie Sahlberg
acf31bb24d
Bump version to 1.0.0
2011-10-04 18:30:15 +11:00
Ronnie Sahlberg
d678b73e4d
Fragment reassembly. Add reassembly of fragmented RPC PDUs
2011-10-04 12:31:56 +11:00
Ronnie Sahlberg
1744ef9011
Autoreconnect: autoreconnect was completely broken. Reimplement it so that it reconnects properly on session failure.
2011-10-04 11:25:10 +11:00