Merge pull request #34 from Memphiz/win32fix2

Win32fix2
On Windows, use 65534/65534 instead of 65535/65535 for the default uid/gid
Merge branch 'master' of github.com:sahlberg/libnfs
AROS: Add an install target to the makefile

Copy libnfs.a to GCC:lib and the header files to
INCLUDE:nfsc
Merge pull request #36 from Memphiz/win32fix2

[win32] - fix missing preprocessor define for using 32bit time_t in
Add support for NFS/PATHCONF
Make sure the the value is unsigned before we OR it into the uint64_t
or else the sign might be extended.
Reset the receive buffer processing the received PDU.
This allows us to have recursive eventloops and do synchronous
rpc calls from a callback.
New version 1.7

 - Allow nested eventloops so that a sync function can be called from a callback.
 - Fix a bug in unmarshalling a uint64.
 - Add PATHCONF support.
 - WIN32/64 updates
 - AROS updates
Make xid be a uint32_t and not either unsigned long or unsigned int
Fix typos
Don't clamp write3 max to 32k

We use our own XDR and RPC layer nowadays and do not have
any external dependencies to XDR or RPC.

As such we no longer need to clamp the write size to max 32kb
since we never link to the system rpc/xdr libraries.
(and thus dont have to clamp in case the system library is broken for
pdu's > 32k)

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Mix in the pid in the top 16 bits for the initial xid.
This helps for users which rapidly fork a lot of processes that then
immediately create a new context (I am looking at you dbench)
to awoid having lots of processes starting and using overlapping xid values.
Add a mechanism to control what the next XID value on a session will be.
This makes it possible for multiple processes/contexts to use the same
target and (with some synchronization) avoid XID collissions across processes/contexts.
Add an async helper function to connect an rpc context to a program/version
Dont leak every single buffer we read from the socket.
New version 1.8

Fix nasty memory leak
Add a simple FUSE filesystem based on libnfs.
We don't need -odebug for the fuse nfs client anymore
Remove some debug residuals from fuse_nfs