Add a rpc_set_fd() fucntion which can be used to swap the underlying socket file...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 2 Feb 2014 16:45:21 +0000 (08:45 -0800)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 2 Feb 2014 16:45:21 +0000 (08:45 -0800)
commit6ec481d3fae973cf077d70c9cf870b425fee7112
tree1c5d76e779c9b5909594fa7dc03da60f4035a38e
parent34edf264dc678d3df086bb76ff0d40fb28d08b60
Add a rpc_set_fd() fucntion which can be used to swap the underlying socket file descriptor

This is mainly needed when having to track and control the file descriptors that are used by libnfs, for example when trying to emulate dup2() ontop
of libnfs.
include/nfsc/libnfs-raw.h
lib/libnfs-win32.def
lib/socket.c