Revamped some of the io variables and calls to make the various I/O
authorWayne Davison <wayned@samba.org>
Sat, 17 Jul 2004 15:20:00 +0000 (15:20 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 17 Jul 2004 15:20:00 +0000 (15:20 +0000)
commit1f75bb10660e4708c3b857bab6e220f46bb276b8
treec9cf6ba8a5396bcefa574cc9da76828aed2878da
parent088adfacc1cae3313cf4fc92056aa0895e6c0880
Revamped some of the io variables and calls to make the various I/O
functions seemlessly work on fds that aren't for the main socket. This
involved changing some fd-variable names (to make them clearer), adding
io_set_sock_fds(), and making input buffering have a better enabled
flag (via an allocated buffer, just like the output buffering).  I also
got rid of the fd arg to some functions where the fd arg could only
specify the input or output fd for the socket (which we already know).
io.c