summaryrefslogtreecommitdiff
path: root/src/sock.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2003-01-27# Style clean up.Robert James Kaes1-2/+2
2002-05-23Changed the lookup_domain() function to use the new "dnsserver" API.Robert James Kaes1-11/+2
Also moved safe_write(), safe_read(), readline(), and write_message() functions into their own file.
2001-12-24Added the write_message() function (from reqs.c)Robert James Kaes1-1/+2
2001-12-15Changed safe_write() to fully send all the data in the buffer it wasRobert James Kaes1-3/+3
passed. Also safe_write() and safe_read() now use char pointer buffers rather than the void pointer style.
2001-11-22Replaced the readline() function with a new version which has noRobert James Kaes1-3/+3
restrictions on the length of a line (unless you fill memory of course.) Reformated the source.
2001-10-25Changed the included headers to be only the "tinyproxy.h" since itRobert James Kaes1-4/+2
contains all the code for properly bringing in the system headers (in the correct order and with proper dependancies.)
2001-09-16Moved the safe_write() and safe_read() functions here.Robert James Kaes1-1/+4
2001-06-02Fixed up the names of the DEFINES.Robert James Kaes1-3/+7
2001-05-27Removed the SA define.Robert James Kaes1-4/+4
Made the sock_mutex static since it's not referenced outside the file. Changed the data types for some of the variables. Cleaned up the readline function (changed data types and removed variables.)
2000-09-11Needed locking in getpeer_string().Robert James Kaes1-12/+10
Added mutex locking around the dnscache() call. Removed the global sockaddr and setup_fd variables. Added the socket_blocking() and socket_nonblocking() functions. Gutted the readling() function and replaced it with something similar to the 1.0 version. :)
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+40
which included commits to RCS files with non-trunk default branches.