summaryrefslogtreecommitdiff
path: root/lib-src/pop.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [WINDOWSNT]: Include winsock.h and ntlib.h.Richard M. Stallman1996-04-281-9/+48
| | | | | | | | | | | | | | | | Macro SOCKET_ERROR undefined. Don't declare h_errno. [!WINDOWSNT]: Define macros recv and send. [!WINDOWSNT] (POP_SERVICE): Change to pop3. (pop_open) [WINDOWSNT]: Initialize trash_started. (have_winsock) [WINDOWSNT]: New variable. (socket_connection) [WINDOWSNT]: Initialize winsock. (socket_connection): Use closesocket instead of close. (getline): Use recv instead of read. (fullwrite): Use send instead of write. (pop_trash): Use closesocket instead of close. (pop_trash) [WINDOWSNT]: Cleanup winsock. Check if being called recursively by sendline.
* (pop_retrieve, getline): Avoid type clashes.Karl Heuer1996-01-201-3/+4
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-3/+3
|
* (getline): When a search of already-read input for CRLFRichard M. Stallman1994-10-241-3/+16
| | | | | | | | | fails, store the fact that we've searched it and don't search it again after reading more data. (getline): When determining whether or not it's necessary to grow the input buffer, take into account the null that's stored at the end of already-read input in the buffer.
* Only include ../src/config.h if HAVE_CONFIG_H isRichard M. Stallman1994-10-191-32/+45
| | | | | | | | | | | | | defined, and if HAVE_CONFIG_H isn't defined, define MAIL_USE_POP always (so that this file can be included in other programs besides emacs). Only declare h_errno if HAVE_H_ERRNO isn't defined or HAVE_CONFIG_H isn't defined. (find_crlf, getline): Instead of using strstr, use a custom function for finding CRLF. (my_strstr): Function deleted.
* Fix mismatch in conditionals.Richard M. Stallman1994-10-181-7/+9
|
* (open, close, read, write): Add #undefs.Richard M. Stallman1994-10-181-0/+5
|
* Include ../src/config.h.Richard M. Stallman1994-10-181-0/+3
|
* Don't declare malloc, realloc, free.Richard M. Stallman1994-10-181-10/+8
| | | | | | | | | Don't include string.h or strings.h. Include des.h before krb.h. Do declare my_strstr. (getline): Really use my_strstr. Leave one empty place in server->buffer, and put a null at the end of the data in it.
* Initial revisionRichard M. Stallman1994-09-271-0/+1470