Commit Graph

18 Commits (master)

Author SHA1 Message Date
Ronnie Sahlberg 4ca1e05f4e rpcgen: fix compilation of nfs header file
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2022-01-05 13:10:06 +10:00
Ronnie Sahlberg efa9085cfa add support for nfsv3 getacl
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-12-31 11:42:48 +10:00
Jean-Baptiste Kempf 3ca22dcfdd Win32: Add win32_compat.h include 2016-01-08 23:23:00 +01:00
Ronnie Sahlberg bce63d849c types: remove the [u_]quad type and replace with [u]int64
All current platforms have a quad type that maps to a 64bit scalar.
But there are platforms where quad maps to a 64bit non-scalar.

Replace quad with int64 in the protocol definitions and the ZDR layer
so that these fields will map to a 64 bit scalar also on those platforms
where quad can not be used.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-08-16 14:51:53 -07:00
Ronnie Sahlberg ea283cd792 RPC: include libnfs-zdr.h from all raw libnfs-raw-*.h files
Include the zdr header from all raw lowlevel headers so that we don't have to
include it manually from apps.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-07-13 15:36:59 -07:00
Ronnie Sahlberg af8d37c8b7 RPC: get rid of bool_t
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-07-05 09:14:01 -07:00
Ronnie Sahlberg d663ff20d0 RPC: get rid of references to SCVXPRT
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-07-05 09:13:55 -07:00
Ronnie Sahlberg ef1f869943 RPC: get rid of all references to CLIENT
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-07-05 09:13:49 -07: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 5392b1cfbc New version : 1.9.0
- Use _stat64 on windows so file sizes become 64bit always.
 - Increase default marshalling buffer so we can marshall large PDUs.
 - RPC layer support for NFSv2
 - Win32 updates and fixes
 - Add URL parsing functions and URL argument support.
 - New utility: nfs-io
 - nfs-ls enhancements
 - RPC layer support for NSM
 - Add example FUSE filesystem.
 - Minor fixes.
2014-01-27 20:47:24 -08:00
Ronnie Sahlberg cd954dd55e NFS: Update compile_rpc and regenerate the nfs marshalling/unmarshalling code
We had some manual changes to the nfs code to handle ANDROID and WIN32.
Update the rpc generation target to add these extra define.
2013-12-24 08:34:38 -08:00
Ronnie Sahlberg ec70621f42 Remove all remaining references to RPC 2012-12-04 18:55:32 -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 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 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 3847f8f6ae add support got NFSACL protocol and NULL and GETACL procedures.
add example of raw interface for NFSACL
2011-07-03 15:30:18 +10:00
Trent Nelson 752d8ed28a Add back rpcgen uint64 fix for osx 2011-06-29 14:15:22 -04:00
Trent Nelson 6c437065d3 Rewrite build system using automake
Initial commit, only linux tested so far.
2011-06-29 14:15:16 -04:00