Did clean up RPC code today. As we do send stat structures across the wire there are all kinds of custom types like ino_t and dev_t that are different across the platforms. I have settled to send most of this stuff as int64 instead of uint32, which is in most modern RPC implementations converted using xdr_hyper. The exception appears to be MacOS X and DG/UX, which do not have xdr_hyper, so I will have to make my own. Beyond the fact the ONC/RPC works quite ok it has a badly designed type system in my opinion.
