Commit Graph

12 Commits (fac3a95453c392a01f8ec18c94368afa92564ba7)

Author SHA1 Message Date
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 f38aacf8c9 Add NFSv2 RPC support 2013-12-24 11:28:56 -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 67a9f57e67 WIN32 fixes 2013-05-28 16:15:16 -07: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
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 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