Get native Win32 mode working (at least in a basic state).
authorMichael Poole <mdpoole@troilus.org>
Tue, 29 May 2007 02:14:21 +0000 (22:14 -0400)
committerMichael Poole <mdpoole@troilus.org>
Tue, 29 May 2007 02:14:21 +0000 (22:14 -0400)
commit022bd2b4a123c7860a7c9529e253c569c1613933
tree905bee70bd7ab02b8a5999f334470ed72534c49f
parenta662d25f0b923b0f8cc5edc87bd857e3c22ccbc2
Get native Win32 mode working (at least in a basic state).

Makefile.win32: Use mail-smtp backend.  Fix main build rule.
src/ioset-win32.c (ioset_win32_init): Return values appropriately.
  (ioset_win32_loop): Update "now" before dispatching events.
src/ioset.c: Add errno kludges to work properly on Win32.  Use send() and
  recv() rather than write() and read().  Use simple comparisons rather
  than switch statements with only one case.
src/mail-smtp.c: Initial pass at SMTP backend for mail service.  Does not
  yet try to send the mail body, and has not been tested.
src/main-common.c: Move usage(), version(), license() to here ..
src/main.c: .. from here.
src/main-win32.c: Parse command-line options.
Makefile.win32
src/ioset-win32.c
src/ioset.c
src/mail-smtp.c [new file with mode: 0644]
src/main-common.c
src/main-win32.c
src/main.c
src/mod-qserver.help [new file with mode: 0644]
src/mod-snoop.help [new file with mode: 0644]